I think that's freaking brilliant. Using variables in regexes has always scared the pants off me, I can never get them to do what I want.
As cavac asked, I'm building a crude lossy compression.
In reply to Re^2: How to express contents of a file as regex metachars?
by dwhite20899
in thread How to express contents of a file as regex metachars?
by dwhite20899
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |