So every piece of documentation on ruby regexps I can find, including
the pickaxe book, lists that the [:punct:] POSIX character class is
But it doesn’t actually work. It just gets treated as a standard
character class including the chars :,p,u,n,c,t.
Is there something I’m missing? Is there some way to actually use
[:punct:] in a ruby regexp to mean the POSIX character class as
Thanks for any help!