This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #112522] Mildly incorrect wording in "perldoc perlre"
authorAristotle Pagaltzis <pagaltzis@gmx.de>
Thu, 24 May 2012 01:12:43 +0000 (18:12 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 24 May 2012 01:12:43 +0000 (18:12 -0700)
pod/perlre.pod

index b69c359..9c5c3ad 100644 (file)
@@ -31,8 +31,8 @@ L<perlop/"Gory details of parsing quoted constructs">.
 X</m> X<regex, multiline> X<regexp, multiline> X<regular expression, multiline>
 
 Treat string as multiple lines.  That is, change "^" and "$" from matching
-the start or end of the string to matching the start or end of any
-line anywhere within the string.
+the start or end of line only at the left and right ends of the string to
+matching them anywhere within the string.
 
 =item s
 X</s> X<regex, single-line> X<regexp, single-line>