summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-10-16 14:09:40 -0600
committerKarl Williamson <public@khwilliamson.com>2011-10-17 21:52:17 -0600
commit05f861a2cb5b8f36d571c879ab8b15dd52a612f7 (patch)
tree71d998d6904110504517ab62d4eed47827e8edc4 /regexec.c
parent2daa8fee180b10307a7045b863759bd98f6fe154 (diff)
downloadperl-05f861a2cb5b8f36d571c879ab8b15dd52a612f7.tar.gz
regexec.c: Add another place to not re-fold
This adds regrepeat to no keep re-folding to the recent commits
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 0fea67ff34..6f47ae967f 100644
--- a/regexec.c
+++ b/regexec.c
@@ -6033,7 +6033,7 @@ S_regrepeat(pTHX_ const regexp *prog, const regnode *p, I32 max, int depth)
case EXACTF:
case EXACTFU:
- utf8_flags = 0;
+ utf8_flags = (UTF_PATTERN) ? FOLDEQ_S2_ALREADY_FOLDED : 0;
/* The comments for the EXACT case above apply as well to these fold
* ones */