Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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 the sunlight beams...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2018-07-22 16:38 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (454 votes). Check out past polls.