summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-04-01 22:29:19 -0600
committerKarl Williamson <khw@cpan.org>2020-04-03 14:14:35 -0600
commitd013a11f9dc825647426729265e15c3f0ca70aa9 (patch)
treeebe90dfd4ca9e9474374975af58844815ed21abd /regcomp.c
parente584d91137bdc3c46182e30c4d07c15765b6e17a (diff)
downloadperl-d013a11f9dc825647426729265e15c3f0ca70aa9.tar.gz
regcomp.c: Handle /ss\xdf/iaa properly
Having both ss and \xdf in a string caused the node type to be changed back to a wrong one. This fixes #17486
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 690a581fe0..df7a875b0e 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -4440,7 +4440,7 @@ S_join_exact(pTHX_ RExC_state_t *pRExC_state, regnode *scan,
s++;
}
}
- else {
+ else if (OP(scan) != EXACTFAA_NO_TRIE) {
/* Non-UTF-8 pattern, not EXACTFAA node. Look for the multi-char
* folds that are all Latin1. As explained in the comments