diff options
author | Karl Williamson <khw@cpan.org> | 2015-02-20 11:10:05 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-02-21 12:48:04 -0700 |
commit | 779cf272a07d560ad97de0fec1722d5e3f10e351 (patch) | |
tree | 118b49e4a562b0939c92b81bdcf7ec797595830e /pod/perlrecharclass.pod | |
parent | 687ffedd21ab291b3c138bcffbe99168f79d3e26 (diff) | |
download | perl-779cf272a07d560ad97de0fec1722d5e3f10e351.tar.gz |
\s matching VT is no longer experimental
This was experimentally introduced in 5.18, and no issues were raised,
except that it got us to thinking and spurred us to stop allowing $^X,
where 'X' is a non-printable control character, and that change caused
some issues.
Diffstat (limited to 'pod/perlrecharclass.pod')
-rw-r--r-- | pod/perlrecharclass.pod | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/pod/perlrecharclass.pod b/pod/perlrecharclass.pod index 0d00a39c8c..97c15049fa 100644 --- a/pod/perlrecharclass.pod +++ b/pod/perlrecharclass.pod @@ -214,7 +214,7 @@ C<\s> matches any single character considered whitespace. In all Perl versions, C<\s> matches the 5 characters [\t\n\f\r ]; that is, the horizontal tab, the newline, the form feed, the carriage return, and the space. -Starting in Perl v5.18, experimentally, it also matches the vertical tab, C<\cK>. +Starting in Perl v5.18, it also matches the vertical tab, C<\cK>. See note C<[1]> below for a discussion of this. =item otherwise ... @@ -241,7 +241,7 @@ table below. =item otherwise ... -C<\s> matches [\t\n\f\r ] and, starting, experimentally in Perl +C<\s> matches [\t\n\f\r ] and, starting in Perl v5.18, the vertical tab, C<\cK>. (See note C<[1]> below for a discussion of this.) Note that this list doesn't include the non-breaking space. @@ -324,13 +324,8 @@ effect that changes the C<\s> matching). =item [1] -Prior to Perl v5.18, C<\s> did not match the vertical tab. The change -in v5.18 is considered an experiment, which means it could be backed out -in v5.22 if experience indicates that it breaks too much -existing code. If this change adversely affects you, send email to -C<perlbug@perl.org>; if it affects you positively, email -C<perlthanks@perl.org>. In the meantime, C<[^\S\cK]> (obscurely) -matches what C<\s> traditionally did. +Prior to Perl v5.18, C<\s> did not match the vertical tab. +C<[^\S\cK]> (obscurely) matches what C<\s> traditionally did. =item [2] @@ -862,7 +857,7 @@ Unicode considers symbols. C<\p{XPerlSpace}> and C<\p{Space}> match identically starting with Perl v5.18. In earlier versions, these differ only in that in non-locale -matching, C<\p{XPerlSpace}> does not match the vertical tab, C<\cK>. +matching, C<\p{XPerlSpace}> did not match the vertical tab, C<\cK>. Same for the two ASCII-only range forms. =back |