in reply to Re^19: Reusing a complex regexp in multiple spots, escaping the regexp
in thread Reusing a complex regexp in multiple spots, escaping the regexp
Does this double execution also effect officially embedded (?{CODE}) ?
Shouldn't this be just documented with /o or (in a better world) even better emitting a warning?
I'm using side effects in regexes mainly for debugging.
On a tangent: My system Perl seems to be with thread support, I dunno how often Perl is even installed or used without thread support.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^21: Reusing a complex regexp in multiple spots, escaping the regexp
by dave_the_m (Monsignor) on Apr 18, 2026 at 12:30 UTC | |
by LanX (Saint) on Apr 18, 2026 at 13:47 UTC | |
by dave_the_m (Monsignor) on Apr 18, 2026 at 16:07 UTC |