Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Exception from a character class

by Anonymous Monk
on May 30, 2013 at 10:46 UTC ( #1036023=note: print w/ replies, xml ) Need Help??


in reply to Exception from a character class

See perlrecharclass and unicode-regex-range-character-class.pl

/(?[ \p{Punct} - ['] ])/

There is also a way to define your own name so you can ue p{PunctButNotApostrophe} but I can't find the link at this time :)


Comment on Re: Exception from a character class
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2014-09-01 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (17 votes), past polls