In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/1ca12bda609083913fc4c1a8307d652dd6665207?hp=e9d1f52f2d71635edb850a06f8876a1f3cafcc88>
- Log ----------------------------------------------------------------- commit 1ca12bda609083913fc4c1a8307d652dd6665207 Author: Ricardo Signes <[email protected]> Date: Sun Sep 29 21:51:30 2013 -0400 reword the description of what the /m flag does M pod/perlre.pod commit 363e3e5ac1b9308ef8aa3e89f85a491d993e4e26 Author: Ricardo Signes <[email protected]> Date: Sun Sep 29 21:47:28 2013 -0400 slightly clarify the meaning of $ in regex This patch was suggested in #116773. M pod/perlre.pod ----------------------------------------------------------------------- Summary of changes: pod/perlre.pod | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pod/perlre.pod b/pod/perlre.pod index 404fc31..ee3244b 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -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 line only at the left and right ends of the string to -matching them anywhere within the string. +the start of the string's first line and the end of its last line to +matching the start and end of each line within the string. =item s X</s> X<regex, single-line> X<regexp, single-line> @@ -472,7 +472,8 @@ X<\> X<^> X<.> X<$> X<|> X<(> X<()> X<[> X<[]> \ Quote the next metacharacter ^ Match the beginning of the line . Match any character (except newline) - $ Match the end of the line (or before newline at the end) + $ Match the end of the string (or before newline at the end + of the string) | Alternation () Grouping [] Bracketed Character class -- Perl5 Master Repository
