Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: regex trouble

by NetWallah (Canon)
on Mar 05, 2010 at 06:20 UTC ( [id://826874]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -e 'my $x=q|v09.11-e020|;$x =~  m/^v[0-9][0-9]\.[0-9][0-9]-[a-z][
    +0-9][0-9][0-9]/ and print " match\n"'
    #Prints ' match'
    
  2. or download this
     m/^v\d{2}\.\d{2}-[a-z]\d{3}/
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://826874]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-24 18:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found