Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: how to write a multi-line regex

by johngg (Canon)
on Jan 22, 2010 at 11:55 UTC ( [id://818948]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $regex =qr{(?x)
        ^(\w*)?\s         #A comment
    ...
        ([0-9+]+)\s.      # and will have to maintain this code
        (\d*)             # will think well of you
        };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-28 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found