You may want to take a look at grinder's Regexp::Assemble (see Why machine-generated solutions will never cease to amaze me for some background).
HTH,
planetscapeIn reply to Re: creating regular expressions dynamically from the command line
by planetscape
in thread creating regular expressions dynamically from the command line
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |