From b387afbc3c259edc87af6325c879b0cd938e3a31 Mon Sep 17 00:00:00 2001 From: Ricardo Signes Date: Thu, 20 Jun 2013 21:43:30 -0400 Subject: [PATCH] perlexperiment: mark regexp backtracking verbs as accepted --- pod/perlexperiment.pod | 14 ++++++++------ pod/perlre.pod | 7 ------- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/pod/perlexperiment.pod b/pod/perlexperiment.pod index 6cd48cc..664820a 100644 --- a/pod/perlexperiment.pod +++ b/pod/perlexperiment.pod @@ -56,12 +56,6 @@ Introduced in Perl 5.10.0 Using this feature triggers warnings in the category C. -=item Backtracking control verbs - -C<(*ACCEPT)> - -Introduced in: Perl 5.10 - =item Pluggable keywords See L for the mechanism. @@ -275,6 +269,14 @@ Introduced in Perl 5.12 Exact version of acceptance unclear, but no later than Perl 5.18. +=item Backtracking control verbs + +C<(*ACCEPT)> + +Introduced in: Perl 5.10 + +Accepted in Perl 5.20.0 + =back =head2 Removed features diff --git a/pod/perlre.pod b/pod/perlre.pod index 49777a3..f650fed 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -1756,10 +1756,6 @@ See L. =head2 Special Backtracking Control Verbs -B These patterns are experimental and subject to change or -removal in a future version of Perl. Their usage in production code should -be noted to avoid problems during upgrades. - These special patterns are generally of the form C<(*VERB:ARG)>. Unless otherwise stated the ARG argument is optional; in some cases, it is forbidden. @@ -1985,9 +1981,6 @@ It is probably useful only when combined with C<(?{})> or C<(??{})>. =item C<(*ACCEPT)> X<(*ACCEPT)> -B This feature is highly experimental. It is not recommended -for production code. - This pattern matches nothing and causes the end of successful matching at the point at which the C<(*ACCEPT)> pattern was encountered, regardless of whether there is actually more to match in the string. When inside of a -- 2.7.4