summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2012-03-19 17:33:22 +0100
committerYves Orton <demerphq@gmail.com>2012-03-19 17:33:22 +0100
commitab79ecc9d7bcb01df86abda790b94ab411e18235 (patch)
tree9cbf59df50a42cbef3acfc20543ed45a5040c0ee /regcomp.c
parent4c29c902b7533043baba4bb5f8ce1d0b3ba1e260 (diff)
downloadperl-yves/exactish_with_min_len.tar.gz
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 d54865441b..c154e9952a 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -2688,7 +2688,7 @@ S_join_exact(pTHX_ RExC_state_t *pRExC_state, regnode *scan, UV *min_subtract, b
const unsigned int oldl = STR_LEN(scan);
regnode * const nnext = regnext(n);
- if (oldl + STR_LEN(n) > U8_MAX)
+ if (oldl + STR_LEN(n) > EXACT_STR_LEN_MAX)
break;
DEBUG_PEEP("merg",n,depth);