Glad to hear it did!
Of course, I don't know exactly what you're matching, but did you mean /\b$token\b/ instead of the /\b $token \b/ that you have in your original code, i.e., did you want spaces and word boundaries around the token or just word boundaries?
In reply to Re^3: Special Variables and Multiple Regexp Matching
by Kenosis
in thread Special Variables and Multiple Regexp Matching
by nathaniels
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |