Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: Passing variables into regular expressions

by johngg (Canon)
on Apr 20, 2006 at 14:08 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://544605]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-03-29 15:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found