Thanks, kvale,
I'm going to agree that this is something strange with lexicals and the regular expression engine. I tried bringing the lexical outside of the loop with success, as you suggested, but I thought the result was quite interesting upon putting it in the same scope as the regular expression. A mystery to me...
In reply to Re: Re: regex code embedding problem?
by perlguy
in thread regex code embedding problem?
by perlguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |