From 05f861a2cb5b8f36d571c879ab8b15dd52a612f7 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 16 Oct 2011 14:09:40 -0600 Subject: [PATCH] regexec.c: Add another place to not re-fold This adds regrepeat to no keep re-folding to the recent commits --- regexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regexec.c b/regexec.c index 0fea67f..6f47ae9 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 */ -- 2.7.4