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

Re: m modifier

by hnd (Scribe)
on Aug 14, 2009 at 06:13 UTC ( #788534=note: print w/replies, xml ) Need Help??


in reply to m modifier

i had this doubt before and got it cleared here.... this is what i learned....

/m modifier are used to to let $ and ^ match before and after a \n respectively for eg if you do  /^foo/m it would not only match at the beginning but also right after a newline character (ie the second line)...

now for /s modifier it is necessary to know what '.' does usually. it doesn't match the newlines normally ie you have to force it to match the newlines as well for eg  /foo.bar/s would match foo and bar on different lines...

=====================================================
i'am worst at what do best and for this gift i fell blessed...
i found it hard it's hard to find well whatever
NEVERMIND

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2022-01-27 10:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (70 votes). Check out past polls.

    Notices?