diff options
author | bch <brad.harder@gmail.com> | 2015-02-07 21:12:18 (GMT) |
---|---|---|
committer | bch <brad.harder@gmail.com> | 2015-02-07 21:12:18 (GMT) |
commit | 1dcecc86911575eedfda9caede53f086bbbf0ad4 (patch) | |
tree | 4d6163ec31594e68e75a1b18e2b4de0fbb18c728 /generic/regexec.c | |
parent | 80c303fe985156a04d9565cc50a77e52c4f62269 (diff) | |
parent | b45286725aeaf89d746d3f7edc0f125a4c0950a3 (diff) | |
download | tcl-1dcecc86911575eedfda9caede53f086bbbf0ad4.zip tcl-1dcecc86911575eedfda9caede53f086bbbf0ad4.tar.gz tcl-1dcecc86911575eedfda9caede53f086bbbf0ad4.tar.bz2 |
merge [trunk]
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 */ |