In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/435b3a334a8395d68b51289a1c83ca1d4ea8a1f7?hp=3a894b4add253fc59618657e1390f0c207eaf061>
- Log ----------------------------------------------------------------- commit 435b3a334a8395d68b51289a1c83ca1d4ea8a1f7 Author: Karl Williamson <k...@cpan.org> Date: Sun Dec 30 10:01:38 2018 -0700 perlre: Note that lookbehind is up to 255 chars ----------------------------------------------------------------------- Summary of changes: pod/perlre.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pod/perlre.pod b/pod/perlre.pod index 5329df2f86..8b2bfb9da4 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -1627,7 +1627,7 @@ X<look-behind, positive> X<lookbehind, positive> X<\K> A zero-width positive lookbehind assertion. For example, C</(?<=\t)\w+/> matches a word that follows a tab, without including the tab in C<$&>. -Works only for fixed-width lookbehind. +Works only for fixed-width lookbehind of up to 255 characters. There is a special form of this construct, called C<\K> (available since Perl 5.10.0), which causes the @@ -1662,7 +1662,7 @@ X<look-behind, negative> X<lookbehind, negative> A zero-width negative lookbehind assertion. For example C</(?<!bar)foo/> matches any occurrence of "foo" that does not follow "bar". Works -only for fixed-width lookbehind. +only for fixed-width lookbehind of up to 255 characters. The alphabetic forms are experimental; using them yields a warning in the C<experimental::alpha_assertions> category. -- Perl5 Master Repository