diff --git a/pod/perlrecharclass.pod b/pod/perlrecharclass.pod index e61d4cfeca..4ad9a08ce1 100644 --- a/pod/perlrecharclass.pod +++ b/pod/perlrecharclass.pod @@ -795,7 +795,8 @@ Perl recognizes the following POSIX character classes: alpha Any alphabetical character (e.g., [A-Za-z]). alnum Any alphanumeric character (e.g., [A-Za-z0-9]). ascii Any character in the ASCII character set. - blank A GNU extension, equal to a space or a horizontal tab ("\t"). + blank Any horizontal whitespace character (e.g. space or horizontal + tab ("\t")). cntrl Any control character. See Note [2] below. digit Any decimal digit (e.g., [0-9]), equivalent to "\d". graph Any printable character, excluding a space. See Note [3] below. diff --git a/pod/perlreref.pod b/pod/perlreref.pod index 69518d8573..aea237f6fa 100644 --- a/pod/perlreref.pod +++ b/pod/perlreref.pod @@ -163,8 +163,7 @@ POSIX character classes and their Unicode and Perl equivalents: blank PosixBlank XPosixBlank \h Horizontal whitespace; full-range also written as - \p{HorizSpace} (GNU - extension) + \p{HorizSpace} cntrl PosixCntrl XPosixCntrl Control characters digit PosixDigit XPosixDigit \d Decimal digits graph PosixGraph XPosixGraph 'alnum' plus 'punct' diff --git a/pod/perlretut.pod b/pod/perlretut.pod index ca37c71887..e9709886b9 100644 --- a/pod/perlretut.pod +++ b/pod/perlretut.pod @@ -2118,9 +2118,9 @@ Unicode standard, or the Unicode Consortium's website L As if all those classes weren't enough, Perl also defines POSIX-style character classes. These have the form C<[:I:]>, with I the name of the POSIX class. The POSIX classes are C, C, -C, C, C, C, C, C, C, -C, C, and C, and two extensions, C (a Perl -extension to match C<\w>), and C (a GNU extension). The C +C, C, C, C, C, C, C, +C, C, C, C, and C (a Perl extension to +match C<\w>). The C modifier restricts these to matching just in the ASCII range; otherwise they can match the same as their corresponding Perl Unicode classes: C<[:upper:]> is the same as C<\p{IsUpper}>, I. (There are some