Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Passing variables into regular expressions

by Tanalis (Curate)
on Apr 20, 2006 at 13:32 UTC ( [id://544599]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # doesn't match
    my ($span_m) = $str =~ /(\d\d.*?\d\d)/m;
    ...
    
    # so does
    my ($span_m) = $str =~ /(\d\d\w+\s\w+\d\d/m;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-29 01:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found