This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Correct typo in code example.
authorJames E Keenan <jkeenan@cpan.org>
Sat, 14 Feb 2015 14:20:42 +0000 (09:20 -0500)
committerJames E Keenan <jkeenan@cpan.org>
Sat, 14 Feb 2015 14:20:42 +0000 (09:20 -0500)
Reported by saint.snit++

For: RT #123820

pod/perlrecharclass.pod

index 1dec878..e7d8248 100644 (file)
@@ -571,7 +571,7 @@ Examples:
  "]"   =~ /[][]/      #  Match, as the character class contains.
                       #  both [ and ].
  "[]"  =~ /[[]]/      #  Match, the pattern contains a character class
  "]"   =~ /[][]/      #  Match, as the character class contains.
                       #  both [ and ].
  "[]"  =~ /[[]]/      #  Match, the pattern contains a character class
-                      #  containing just ], and the character class is
+                      #  containing just [, and the character class is
                       #  followed by a ].
 
 =head3 Character Ranges
                       #  followed by a ].
 
 =head3 Character Ranges