Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^7: reg. expr. multiple substitutions

by BrowserUk (Pope)
on May 17, 2012 at 16:06 UTC ( #971100=note: print w/replies, xml ) Need Help??

in reply to Re^6: reg. expr. multiple substitutions
in thread reg. expr. multiple substitutions

if a regex $r is used as the *only* part of a pattern in /$r/ or s/$r/../, then it is not interpolated, but used as is.

That's information that I've never seen written down before. Thank you.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

  • Comment on Re^7: reg. expr. multiple substitutions

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://971100]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2018-03-22 23:45 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (286 votes). Check out past polls.