Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 scrutinizing the Monastery: (23)
As of 2015-07-02 18:01 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 (44 votes), past polls