Skip to content

Commit 97c59b7

Browse files
committed
perldelta for GH #16197 fix
1 parent eaa68d3 commit 97c59b7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pod/perldelta.pod

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,11 @@ manager will later use a regex to expand these into links.
379379

380380
=item *
381381

382-
XXX
382+
Regxes which include both a sub-pattern (e.g. C<(??{...})> or C<(?&FOO)>)
383+
and a cut (i.e. C<< (?>...) >>) could sometimes cause a premature scope
384+
exit in other code during a match. For example in something like
385+
C<(?{ local $x = ... })>, the C<local> might have been unwound before the
386+
pattern has finished matching. [GH #16197]
383387

384388
=back
385389

0 commit comments

Comments
 (0)