http://www.perlmonks.org?node_id=826870

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