Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 :)

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 avoiding work at the Monastery: (14)
As of 2016-07-25 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (227 votes). Check out past polls.