Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: Passing variables into regular expressions

by johngg (Canon)
on Apr 20, 2006 at 14:08 UTC ( #544605=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ($span_d) = $str =~ /(\d\d\w+\s\w+\d\d/;
    
  2. or download this
    ...
         m   Treat string as multiple lines.  That is, change "^" and
    ...
    ...
    
    perl v5.8.4          Last change: 2004-01-17                    1
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2021-01-24 19:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?