Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Isn't /m for multiline regex?

by jwkrahn (Abbot)
on Apr 19, 2010 at 04:52 UTC ( [id://835391]=note: print w/replies, xml ) Need Help??


in reply to Isn't /m for multiline regex?

The /m option affects the use of the  ^ and  $ anchors, but you are not using those anchors in your pattern.

You need to use the /s option so that the  . character class will match a newline as well as every other character.

Log In?
Username:
Password:

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

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

    No recent polls found