Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Perl will not match my RegEx pattern....

by hazylife (Monk)
on Mar 19, 2014 at 14:44 UTC ( [id://1078946]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -nle 'print "$_ is ", /^[A-Z][1-9]\.\d\d?[A-Z]*$/ ? "valid" : "
    +invalid"' 1078942.in
    A1.01A is valid
    ...
    V3.26S is valid
    V3.26ST is valid
    V3.26T is valid
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found