summaryrefslogtreecommitdiff
path: root/t/uni
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-08-29 11:36:12 -0300
committerFather Chrysostomos <sprout@cpan.org>2013-09-10 08:36:12 -0700
commitce4bd586d8b371561718e129c4f41aa75850780e (patch)
tree7ddcf0a10c615e49a3373015e5f39bdd9343e6b5 /t/uni
parent8405109152b060e3419c0cddc875535421bcc7ca (diff)
downloadperl-ce4bd586d8b371561718e129c4f41aa75850780e.tar.gz
regcomp.c, S_compile_runtime_code: croak using the SVf format
This makes error messages from code like this: $f = "(?{q\0foo\0 + \x{FFFF}})"; "a" =~ /^a$f/; Be both UTF-8 and nul clean.
Diffstat (limited to 't/uni')
-rw-r--r--t/uni/parser.t4
1 files changed, 1 insertions, 3 deletions
diff --git a/t/uni/parser.t b/t/uni/parser.t
index dcb96f2d13..b71ca88db5 100644
--- a/t/uni/parser.t
+++ b/t/uni/parser.t
@@ -117,9 +117,7 @@ is ${"main::\345\225\217"}, undef, "..and using the encoded form doesn't";
"...and nul-clean"
);
- TODO: {
- local $::TODO = "Unrecognized character thrown from a re-eval not UTF8/nul clean yet";
-
+ {
use re 'eval';
my $f = qq{(?{\$ネ+ 1; \x{1F42A} })};
eval { "a" =~ /^a$f/ };