This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlre: Fix too long verbatim line
authorKarl Williamson <khw@cpan.org>
Wed, 31 Dec 2014 03:48:26 +0000 (20:48 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 31 Dec 2014 04:18:48 +0000 (21:18 -0700)
pod/perlre.pod

index ff8cb18..8ed5eca 100644 (file)
@@ -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