summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-05 22:09:20 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-05 22:09:20 +0000
commit9e55ce066d52428ee12b0c4df544c9a64f88c082 (patch)
tree52abfa57613cd9fbb4312fee9271e6b668819233 /pp_hot.c
parentc7bdadfda7603b18f6db06d8065ed2a479a95e76 (diff)
downloadperl-9e55ce066d52428ee12b0c4df544c9a64f88c082.tar.gz
Finish up (ha!) the Unicode case folding;
enhance regex dumping code. p4raw-id: //depot/perl@14096
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 29ec96beda..df52bb19f9 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -1235,7 +1235,10 @@ PP(pp_match)
pm = PL_curpm;
rx = PM_GETRE(pm);
}
- if (rx->minlen > len) goto failure;
+ if (rx->minlen > len &&
+ !PL_reg_match_utf8 /* ANYOFs can balloon to EXACTFs */
+ )
+ goto failure;
truebase = t = s;