Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Passing variables into regular expressions

by Tanalis (Curate)
on Apr 20, 2006 at 13:32 UTC ( #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
Node Status?
node history
Node Type: note [id://544599]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2021-01-22 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?