Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 browsing the Monastery: (13)
As of 2015-07-29 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls