summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-06-19 12:47:05 +0100
committerDavid Mitchell <davem@iabyn.com>2015-06-19 12:47:05 +0100
commit33c28ab263ac8bba71954d61ec55d7f1dc6c0eca (patch)
tree96f97216db61bab1ff879fb662e18d1c64db471d /ext
parent9558026484c47d197ababb92c9e5477b379f7c42 (diff)
downloadperl-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 'ext')
-rw-r--r--ext/XS-APItest/t/callregexec.t6
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/XS-APItest/t/callregexec.t b/ext/XS-APItest/t/callregexec.t
index 74e1e206df..22446b66f5 100644
--- a/ext/XS-APItest/t/callregexec.t
+++ b/ext/XS-APItest/t/callregexec.t
@@ -10,7 +10,7 @@ use strict;
use XS::APItest;
*callregexec = *XS::APItest::callregexec;
-use Test::More tests => 50;
+use Test::More tests => 48;
# Test that the regex engine can handle strings without terminating \0
# XXX This is by no means comprehensive; it doesn't test all ops, nor all
@@ -42,10 +42,6 @@ sub try {
try "ax", qr/a$/m, 1, 'MEOL';
try "ax", qr/a$/s, 1, 'SEOL';
try "abx", qr/^(ab|X)./s, 0, 'SANY';
- {
- no warnings 'deprecated';
- try "abx", qr/^(ab|X)\C/, 0, 'CANY';
- }
try "abx", qr/^(ab|X)./, 0, 'REG_ANY';
try "abx", qr/^ab(c|d|e|x)/, 0, 'TRIE/TRIEC';
try "abx", qr/^abx/, 0, 'EXACT';