(However, and as a limitation of the current implementation, using "\w" or "\W" inside a "[...]" character class will still match with byte semantics.)which means that [^\w] is not the same as \W.
In reply to Re^2: Substitute \W but not \.
by moritz
in thread Substitute \W but not \.
by sstevens
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |