Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Demarcate Regexes with Unicode

by misterwhipple (Monk)
on Sep 22, 2011 at 17:27 UTC ( #927424=note: print w/ replies, xml ) Need Help??


in reply to Demarcate Regexes with Unicode

I like using {}, for two reasons:

  • The delimiters act balanced, so they might as well look like it.
  • It makes the two parts of an s/// very distinct, visually.
m{rancho}
s{cucamonga}{dressing}

--
Any sufficiently interesting Perl project will depend upon at least one module that doesn't run on Windows.


Comment on Re: Demarcate Regexes with Unicode

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2014-11-24 16:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (143 votes), past polls