in reply to Re: Leaking Regex Captures
in thread Leaking Regex Captures
No, this is simply a long-standing bug in the implementation of captures. $1 remaining unchanged is supposed to happen if the entire regex fails to match.
When the regex backtracks over a completed capture, it needs to clear out that previously filled-in capture. Please 'perlbug' it.
- tye
|
|---|