This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Misapplied regex optimizations when \C is present.
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 18 Feb 2001 22:11:20 +0000 (22:11 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 18 Feb 2001 22:11:20 +0000 (22:11 +0000)
commit3baa4c62cda542368be1e7e1f7af8bd8257c2ff4
tree36c534fdd1b4be5046f1c67dcdf0be0722f4dc97
parent5da9da9e9f46681684e0c487fd55df8db6f9de67
Misapplied regex optimizations when \C is present.
Fixes 20001230.002.

What still remains broken is that the submatches that
have \C in them get their UTF8 flag on because their
parent SV has it on.  This will result in malformed
UTF8 if a \C happened to match a non-ASCII byte.

p4raw-id: //depot/perl@8836
regcomp.c
regcomp.h
regexec.c
regexp.h
t/op/pat.t
t/pragma/utf8.t