Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: REGEX problem with anchorsby mbethke (Hermit) |
on Feb 05, 2013 at 06:50 UTC ( [id://1017073]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|