Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re(2): Unexpected qr// behavior

by bart (Canon)
on Apr 20, 2004 at 16:01 UTC ( #346688=note: print w/ replies, xml ) Need Help??

in reply to Re: Unexpected qr// behavior
in thread Unexpected qr// behavior

To make things even more clear (I hope), I'll just add that you can pass modifiers to qr, just like you can for normal regexes, like this:

$re = qr/<!--.*?-->/s; print $re;
which prints
That is: /s enabled, and /x, /i and /m disabled.

Comment on Re(2): Unexpected qr// behavior
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2015-12-01 07:33 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (795 votes), past polls