Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Demarcate Regexes with Unicode

by misterwhipple (Monk)
on Sep 22, 2011 at 17:27 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://927424]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-18 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found