In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/9c6deb98463c4996dd4479beb0631ed6bb77da51?hp=0b27f0f19a6015689192dce9d16ddb9b6aa62a3f>

- Log -----------------------------------------------------------------
commit 9c6deb98463c4996dd4479beb0631ed6bb77da51
Author: Karl Williamson <[email protected]>
Date:   Thu Apr 20 10:11:41 2017 -0600

    Remove refs to bare ?RE? in pods
-----------------------------------------------------------------------

Summary of changes:
 pod/perlfilter.pod | 4 +---
 pod/perlop.pod     | 6 ++----
 pod/perlreref.pod  | 4 ++--
 3 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/pod/perlfilter.pod b/pod/perlfilter.pod
index b61b6f97b0..f81ee8a1c0 100644
--- a/pod/perlfilter.pod
+++ b/pod/perlfilter.pod
@@ -564,9 +564,7 @@ and thus is does not work inside a string eval, the 
presence of
 regexes with embedded newlines that are specified with raw C</.../>
 delimiters and don't have a modifier C</x> are indistinguishable from
 code chunks beginning with the division operator C</>. As a workaround
-you must use C<m/.../> or C<m?...?> for such patterns. Also, the presence of
-regexes specified with raw C<?...?> delimiters may cause mysterious
-errors. The workaround is to use C<m?...?> instead.  See
+you must use C<m/.../> or C<m?...?> for such patterns.  See
 L<http://search.cpan.org/perldoc?Switch#LIMITATIONS>
 
 Currently the content of the C<__DATA__> block is not filtered.
diff --git a/pod/perlop.pod b/pod/perlop.pod
index 3b8b6708e8..26196c8a07 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -2036,8 +2036,6 @@ Here is the output (split into several lines):
 =item C<m?I<PATTERN>?msixpodualngc>
 X<?> X<operator, match-once>
 
-=item C<?I<PATTERN>?msixpodualngc>
-
 This is just like the C<m/I<PATTERN>/> search, except that it matches
 only once between calls to the C<reset()> operator.  This is a useful
 optimization when you want to see only the first occurrence of
@@ -2914,7 +2912,7 @@ I<sed> hackers who haven't picked up the saner idiom yet. 
 A warning
 is emitted if the S<C<use warnings>> pragma or the B<-w> command-line flag
 (that is, the C<$^W> variable) was set.
 
-=item C<RE> in C<?RE?>, C</RE/>, C<m/RE/>, C<s/RE/foo/>,
+=item C<RE> in C<m?RE?>, C</RE/>, C<m/RE/>, C<s/RE/foo/>,
 
 Processing of C<\Q>, C<\U>, C<\u>, C<\L>, C<\l>, C<\F>, C<\E>,
 and interpolation happens (almost) as with C<qq//> constructs.
@@ -2957,7 +2955,7 @@ finish the regular expression, C<\/> will be stripped to 
C</> on
 the previous step, and C<\\/> will be left as is.  Because C</> is
 equivalent to C<\/> inside a regular expression, this does not
 matter unless the delimiter happens to be character special to the
-RE engine, such as in C<s*foo*bar*>, C<m[foo]>, or C<?foo?>; or an
+RE engine, such as in C<s*foo*bar*>, C<m[foo]>, or C<m?foo?>; or an
 alphanumeric char, as in:
 
   m m ^ a \s* b mmx;
diff --git a/pod/perlreref.pod b/pod/perlreref.pod
index b9180bc0bf..c9deafa1a6 100644
--- a/pod/perlreref.pod
+++ b/pod/perlreref.pod
@@ -60,7 +60,7 @@ with two additions:
 'e' may be specified multiple times. 'replacement' is interpreted
 as a double quoted string unless a single-quote (C<'>) is the delimiter.
 
-C<?pattern?> is like C<m/pattern/> but matches only once. No alternate
+C<m?pattern?> is like C<m/pattern/> but matches only once. No alternate
 delimiters can be used.  Must be reset with reset().
 
 =head2 SYNTAX
@@ -308,7 +308,7 @@ Captured groups are numbered according to their I<opening> 
paren.
 
    pos         Return or set current match position
    quotemeta   Quote metacharacters
-   reset       Reset ?pattern? status
+   reset       Reset m?pattern? status
    study       Analyze string for optimizing matching
 
    split       Use a regex to split a string into parts

--
Perl5 Master Repository

Reply via email to