diff options
author | David Mitchell <davem@iabyn.com> | 2015-06-19 12:47:05 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2015-06-19 12:47:05 +0100 |
commit | 33c28ab263ac8bba71954d61ec55d7f1dc6c0eca (patch) | |
tree | 96f97216db61bab1ff879fb662e18d1c64db471d /pod/perlrebackslash.pod | |
parent | 9558026484c47d197ababb92c9e5477b379f7c42 (diff) | |
download | perl-33c28ab263ac8bba71954d61ec55d7f1dc6c0eca.tar.gz |
remove deprecated /\C/ RE character class
This horrible thing broke encapsulation and was as buggy as a very buggy
thing. It's been officially deprecated since 5.20.0 and now it can finally
die die die!!!!
Diffstat (limited to 'pod/perlrebackslash.pod')
-rw-r--r-- | pod/perlrebackslash.pod | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/pod/perlrebackslash.pod b/pod/perlrebackslash.pod index c216f255e0..08b9abc431 100644 --- a/pod/perlrebackslash.pod +++ b/pod/perlrebackslash.pod @@ -69,8 +69,6 @@ as C<Not in [].> \b{}, \b Boundary. (\b is a backspace in []). \B{}, \B Not a boundary. Not in []. \cX Control-X. - \C Single octet, even under UTF-8. Not in []. - (Deprecated) \d Character class for digits. \D Character class for non-digits. \e Escape character. @@ -663,18 +661,6 @@ categories above. These are: =over 4 -=item \C - -(Deprecated.) C<\C> always matches a single octet, even if the source -string is encoded -in UTF-8 format, and the character to be matched is a multi-octet character. -This is very dangerous, because it violates -the logical character abstraction and can cause UTF-8 sequences to become malformed. - -Use C<utf8::encode()> instead. - -Mnemonic: oI<C>tet. - =item \K This appeared in perl 5.10.0. Anything matched left of C<\K> is |