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.
|Replies are listed 'Best First'.|
Re^2: REGEX problem with anchors
by live4tech (Sexton) on Feb 05, 2013 at 07:10 UTC
by tobias_hofer (Friar) on Feb 05, 2013 at 08:34 UTC
In Section Seekers of Perl Wisdom