That is what I would do, but doesn't match the inferred intent of OP's code. (Mind you, my version doesn't do the checking that the original code did either. :) )
In reply to Re^3: Reg Ex with quotes
by GrandFather
in thread Reg Ex with quotes
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |