Downgrading a fixed or floating substring of a pattern whilst matching
authorNicholas Clark <nick@ccl4.org>
Sun, 10 Dec 2006 22:31:56 +0000 (22:31 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 10 Dec 2006 22:31:56 +0000 (22:31 +0000)
commit0b3e77ec2e46a23afe97475f6b9bf7880fae85f1
treefbd2cac1d5430d518eca1056f17cbc57a6ab25b0
parent2af555bf3f2b3ca8e114df3f5f680d40bd24d6bf
Downgrading a fixed or floating substring of a pattern whilst matching
a studied string seems to get to a "should not happen" [bug #41067]
It seems that Perl_regexec_flags() assumes that if the pre-downgraded
substring is FBM compiled, then the downgraded version will be too,
hence changing the downgrade and upgrade routines to FBM compile seems
to be a correct fix.

p4raw-id: //depot/perl@29502
regexec.c
t/op/re_tests