Perfect, I knew there was a simpler way! Toolic, I really like your second example; elegant, but still readable (at least in my mind, anyway). Thanks so much guys!
EDIT: By the way, this is my first post here; if it's necessary for me to somehow mark this as "solved", I'll be happy to do so.
In reply to Re: Best approach to creating a regex from a filehandle
by fieroboom
in thread Best approach to creating a regex from a filehandle
by fieroboom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |