http://www.perlmonks.org?node_id=186904


in reply to Re: Re: regex (?{CODE}) question
in thread regex (?{CODE}) question

While in a code block, $1 is correct. This is necessary because it's executed as actual code. I'm not sure how \1 would actually parse, though I assume it'd be a reference to 1.

elusion : http://matt.diephouse.com