Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: how to write a multi-line regex

by holli (Monsignor)
on Jan 22, 2010 at 00:04 UTC ( #818844=note: print w/ replies, xml ) Need Help??


in reply to how to write a multi-line regex

You forgot the x-modifier. $input_string=~m/$regex/x;



holli

You can lead your users to water, but alas, you cannot drown them.


Comment on Re: how to write a multi-line regex
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2015-07-29 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls