Unless $thefileIamLookingfor contains an expression with capturing parenthesis, you're not capturing anything. I'm not sure if you're better capturing something, or pushing $_. Pick one. :)
In reply to Re: Regex problem
by chromatic
in thread Regex problem
by DS
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |