From 33c28ab263ac8bba71954d61ec55d7f1dc6c0eca Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Fri, 19 Jun 2015 12:47:05 +0100 Subject: 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!!!! --- pod/perlrebackslash.pod | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'pod/perlrebackslash.pod') 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 \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 instead. - -Mnemonic: oItet. - =item \K This appeared in perl 5.10.0. Anything matched left of C<\K> is -- cgit v1.2.1