in reply to Re: recursive s///g core dumps
in thread recursive s///g core dumps
${['(.+)\1']}[$depth]||'(.+)(\1)'; just changes $re within the recursive call, which seems to be necessary to cause the core dump
|
---|
In Section
Seekers of Perl Wisdom