in reply to Re: curious regex result for perl 5.8.8
in thread curious regex result for perl 5.8.8
If there is no match the content of the capture variables is bogusThat's not strictly accurate. The capture variables reflect the last successful match, where that match is dynamically scoped. The 5.8.x behaviour was a bug, fixed in 5.10.0 by commit c74340f9cdee.
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: curious regex result for perl 5.8.8
by GrandFather (Saint) on Jun 22, 2016 at 02:02 UTC | |
by Anonymous Monk on Jun 22, 2016 at 02:15 UTC | |
by GrandFather (Saint) on Jun 22, 2016 at 04:13 UTC |