Thanks very much! It worked.
It looks like with single quotes I passing the regex as is, with no variable interpolation.
In reply to Re^2: Problem with regex passed to a hash
by oldwarrior32
in thread Problem with regex passed to a hash
by oldwarrior32
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |