1. One of the very cool things about Perl is that you can build regexes dynamically - this works great. So this can play into the eventual plan for @omissions.
2. Using hash table like you have is a very Perl way to remove dupes. This will work fine even for bigger arrays.
Need to noodle on the regex part of your question...
In reply to Re^3: Regex with multiple pattern omissions
by Marshall
in thread Regex with multiple pattern omissions
by jhoop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |