Question
Exclude certain characters from posix [[:punct:]] search
I'm cleaning up some text where often the space was omitted after punctuation. Like this:
There should be a space after a comma,or a semicolon,for example;it's often missing (but not after opening parentheses or apostrophes).
The problem is that when using a Grep Posix search for [[:punct:]](?=\w) it finds all punctuation. Is there a way to exclude ( and ' from the [[:punct:]] wildcard?
