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 :)