in reply to Mixing builtin char-classes and negation

The obvious
[^A\S]
doesn't work, for reasons I don't entirely understand.

It doesn't work because you are negating a character class that has already been negated. The class, \S, means anything but whitespace. Negating that results in "any whitespace".

-sauoq
"My two cents aren't worth a dime.";