summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-04-20 10:11:41 -0600
committerSawyer X <xsawyerx@cpan.org>2017-04-20 19:09:33 +0200
commitf6a85527c5831d860897ed46b4dcc5a52480aa15 (patch)
tree64efb08a663c8e3bb19572049568a444b65a34c1
parentf4ad2fd77bea16dec5250911f88c8723d19d31cb (diff)
downloadperl-5.25.12.tar.gz
Remove refs to bare ?RE? in podsv5.25.12
-rw-r--r--pod/perlfilter.pod4
-rw-r--r--pod/perlop.pod6
-rw-r--r--pod/perlreref.pod4
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