in reply to Re: Strange behaviour when regex variable is modified during match?
in thread Strange behaviour when regex variable is modified during match?

I was only playing with regex and eval inside. I tried to generate some substitution patterns, e.g. zipping or meshing chars.

Sincerely, earlier today I found other "bug" (=feature) that $_ inside (?{ ... }) binds to LHS after I tried to manipulate $_ as a global. But I found in perlre that it is desired behaviour. So then I tried to play with this feature.
  • Comment on Re^2: Strange behaviour when regex variable is modified during match?
  • Download Code