http://qs321.pair.com?node_id=1017073


in reply to REGEX problem with anchors

perl -E'say "OK" if "123dog"=~/\A\d+[a-z]+\z/' works for me. You're not using some stoneage Perl that didn't have \A, are you? Should have been there since before 5.8.