This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlunitut, perlreref: Nits
authorKarl Williamson <khw@cpan.org>
Fri, 20 Feb 2015 17:12:52 +0000 (10:12 -0700)
committerKarl Williamson <khw@cpan.org>
Sat, 21 Feb 2015 19:48:04 +0000 (12:48 -0700)
Spotted by Tom Christiansen

pod/perlreref.pod
pod/perlunitut.pod

index bc4bef7..de1b0d6 100644 (file)
@@ -245,6 +245,7 @@ There is no quantifier C<{,n}>. That's interpreted as a literal string.
    (?<name>...)      Named capture
    (?'name'...)      Named capture
    (?P<name>...)     Named capture (python syntax)
+   (?[...])          Extended bracketed character class
    (?{ code })       Embedded code, return value becomes $^R
    (??{ code })      Dynamic regex, return value used as regex
    (?N)              Recurse into subpattern number N
index 9e5af04..0ac91e0 100644 (file)
@@ -56,8 +56,8 @@ the same thing, but they're not. There are more Unicode encodings, but much of
 the world has standardized on UTF-8. 
 
 UTF-8 treats the first 128 codepoints, 0..127, the same as ASCII. They take
-only one byte per character. All other characters are encoded as two or more
-(up to six) bytes using a complex scheme. Fortunately, Perl handles this for
+only one byte per character. All other characters are encoded as two to
+four bytes using a complex scheme. Fortunately, Perl handles this for
 us, so we don't have to worry about this.
 
 =head3 Text strings (character strings)