What is the correct idiom for a character class containing all chars except whitespace and the letter A? The obvious
[^A\S]
doesn't work, for reasons I don't entirely understand.
I can think of workarounds on my own, but I'd like to know the Right Way to do this. Thanks.
In reply to Mixing builtin char-classes and negation by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |