summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-13 04:30:45 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-13 04:30:45 +0000
commitd65e4eaba652dacd6d72d665d8a212e71287c645 (patch)
treef7f4a03123f3a96a381ba037b5633f7a25902720 /regcomp.c
parentdf6a5558a2bce04b5ca8c596aea47665d230707a (diff)
downloadperl-d65e4eaba652dacd6d72d665d8a212e71287c645.tar.gz
Don't bother checking for the Greek special
cases if the node is too short. p4raw-id: //depot/perl@14228
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index bf1b42f06e..51b3c5d50b 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -737,7 +737,7 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp, I32 *deltap, reg
}
}
- if (UTF && OP(scan) == EXACTF) {
+ if (UTF && OP(scan) == EXACTF && STR_LEN(scan) >= 6) {
/*
Two problematic code points in Unicode casefolding of EXACT nodes: