The general rule is that uppercasing the 'special' character class negates it. So \W is any 'non-word' character.
Again, as pointed out above 'perlre' is a mine of information.
In reply to Re: Pattern Matching
by jbert
in thread Pattern Matching
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |