![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
regex troubleby blackgoat (Acolyte) |
on Mar 05, 2010 at 06:08 UTC ( #826870=perlquestion: print w/replies, xml ) | Need Help?? |
blackgoat has asked for the wisdom of the Perl Monks concerning the following question: Hi! I have to match the following pattern in a given text in perl: v09.11-e020 And i've tried the following pattern: m/^v[0-9][0-9]\.[0-9][0-9]-[a-z][0-9][0-9][0-9]/but this doesnt seem to work, what am I doing wrong?? I'm just beginning on regex. Thanks! BG
Back to
Seekers of Perl Wisdom
|
|