This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
document what version \K was added in
authorKaren Etheridge <ether@cpan.org>
Wed, 20 Aug 2014 00:20:01 +0000 (17:20 -0700)
committerJames E Keenan <jkeenan@cpan.org>
Wed, 20 Aug 2014 01:36:32 +0000 (21:36 -0400)
pod/perlre.pod

index bf439ae..d597e86 100644 (file)
@@ -1233,7 +1233,8 @@ A zero-width positive look-behind assertion.  For example, C</(?<=\t)\w+/>
 matches a word that follows a tab, without including the tab in C<$&>.
 Works only for fixed-width look-behind.
 
-There is a special form of this construct, called C<\K>, which causes the
+There is a special form of this construct, called C<\K> (available since
+Perl 5.10.0), which causes the
 regex engine to "keep" everything it had matched prior to the C<\K> and
 not include it in C<$&>. This effectively provides variable-length
 look-behind. The use of C<\K> inside of another look-around assertion