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:
dd405ed
)
perlre: Fix too long verbatim line
author
Karl Williamson
<khw@cpan.org>
Wed, 31 Dec 2014 03:48:26 +0000
(20:48 -0700)
committer
Karl Williamson
<khw@cpan.org>
Wed, 31 Dec 2014 04:18:48 +0000
(21:18 -0700)
pod/perlre.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlre.pod
b/pod/perlre.pod
index
ff8cb18
..
8ed5eca
100644
(file)
--- a/
pod/perlre.pod
+++ b/
pod/perlre.pod
@@
-120,7
+120,8
@@
C</n> can be negated on a per-group basis. Alternatively, named captures
may still be used.
"hello" =~ /(?-n:(hi|hello))/n; # $1 is "hello"
- "hello" =~ /(?<greet>hi|hello)/n; # $1 is "hello", $+{greet} is "hello"
+ "hello" =~ /(?<greet>hi|hello)/n; # $1 is "hello", $+{greet} is
+ # "hello"
=item Other Modifiers