This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9a5eef
)
perlre: Clarify /x eol can't be escaped
author
Karl Williamson
<khw@cpan.org>
Mon, 19 May 2014 22:36:33 +0000
(16:36 -0600)
committer
Karl Williamson
<khw@cpan.org>
Fri, 30 May 2014 01:28:40 +0000
(19:28 -0600)
pod/perlre.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlre.pod
b/pod/perlre.pod
index
d8c9059
..
5fffed4
100644
(file)
--- a/
pod/perlre.pod
+++ b/
pod/perlre.pod
@@
-150,6
+150,8
@@
whitespace or C<#> characters in the pattern (outside a bracketed character
class, which is unaffected by C</x>), then you'll either have to
escape them (using backslashes or C<\Q...\E>) or encode them using octal,
hex, or C<\N{}> escapes.
+It is ineffective to try to continue a comment onto the next line by
+escaping the C<\n> with a backslash or C<\Q>.
You can use L</(?#text)> to create a comment that ends earlier than the
end of the current line, but C<text> also can't contain the closing