regcomp.c, S_compile_runtime_code: croak using the SVf format
authorBrian Fraser <fraserbn@gmail.com>
Thu, 29 Aug 2013 14:36:12 +0000 (11:36 -0300)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 10 Sep 2013 15:36:12 +0000 (08:36 -0700)
commitce4bd586d8b371561718e129c4f41aa75850780e
tree7ddcf0a10c615e49a3373015e5f39bdd9343e6b5
parent8405109152b060e3419c0cddc875535421bcc7ca
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.
regcomp.c
t/re/pat_re_eval.t
t/uni/parser.t