From 779cf272a07d560ad97de0fec1722d5e3f10e351 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Fri, 20 Feb 2015 11:10:05 -0700 Subject: \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. --- pod/perlrecharclass.pod | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'pod/perlrecharclass.pod') 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; if it affects you positively, email -C. 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 -- cgit v1.2.1