Note that this solution, the other one you provided, and my suggestion to use s///g on exceptions all have the flaw that they won't work if good strings can overlap bad ones. (I.e. if _ALPHA is an exception, but _ALPHALPHA should be a good match.)
-sauoq "My two cents aren't worth a dime.";
In reply to Re^2: Pattern matching when there are exception strings
by sauoq
in thread Pattern matching when there are exception strings
by Moron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |