Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2016-12-04 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (61 votes). Check out past polls.