diff options
author | dgp <dgp@users.sourceforge.net> | 2016-09-08 12:43:49 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-09-08 12:43:49 (GMT) |
commit | d2c080833061d96d6d76d4d3873e15796cdd815c (patch) | |
tree | 68cbdfa02b9e8e347fddbd0df773613cf75f45d4 /generic/regexec.c | |
parent | e36a7a2e7fa1f1afb57f5e6b06917180e429cd72 (diff) | |
parent | 14f15edc7322b01a23ee0ae2201d96ae38212d09 (diff) | |
download | tcl-d2c080833061d96d6d76d4d3873e15796cdd815c.zip tcl-d2c080833061d96d6d76d4d3873e15796cdd815c.tar.gz tcl-d2c080833061d96d6d76d4d3873e15796cdd815c.tar.bz2 |
merge 8.6.4
Diffstat (limited to 'generic/regexec.c')
-rw-r--r-- | generic/regexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/regexec.c b/generic/regexec.c index ad4b6e6..3b9af3e 100644 --- a/generic/regexec.c +++ b/generic/regexec.c @@ -1122,7 +1122,7 @@ complicatedBackrefDissect( */ i = 0; - for (p = begin; p <= stop && (i < max || max == INFINITY); p += len) { + for (p = begin; p <= stop && (i < max || max == DUPINF); p += len) { if (v->g->compare(paren, p, len) != 0) { break; } @@ -1137,7 +1137,7 @@ complicatedBackrefDissect( if (p != end) { /* didn't consume all of it */ return REG_NOMATCH; } - if (min <= i && (i <= max || max == INFINITY)) { + if (min <= i && (i <= max || max == DUPINF)) { return REG_OKAY; } return REG_NOMATCH; /* out of range */ |