See also Regex::PreSuf for a slightly fancier option that might be even faster still if your different words share parts.
In reply to Re^2: speeding up a regex
by Fletch
in thread speeding up a regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |