diff options
| author | dkf <donal.k.fellows@manchester.ac.uk> | 2014-09-09 19:49:08 (GMT) |
|---|---|---|
| committer | dkf <donal.k.fellows@manchester.ac.uk> | 2014-09-09 19:49:08 (GMT) |
| commit | 7bce68fe3bd6110ef4948e72c66a00b48775d634 (patch) | |
| tree | 0e1dfc6cdd11a98cd4dcc4114975380736e527fd /generic/tclRegexp.c | |
| parent | 600ace1c4bfd50763dd250e2c271e7fed0fc3bec (diff) | |
| download | tcl-7bce68fe3bd6110ef4948e72c66a00b48775d634.zip tcl-7bce68fe3bd6110ef4948e72c66a00b48775d634.tar.gz tcl-7bce68fe3bd6110ef4948e72c66a00b48775d634.tar.bz2 | |
[84af1192f5]: [regsub] compiler no longer confused by quantification handling.
Diffstat (limited to 'generic/tclRegexp.c')
| -rw-r--r-- | generic/tclRegexp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclRegexp.c b/generic/tclRegexp.c index 6348e4a..5bc3aa2 100644 --- a/generic/tclRegexp.c +++ b/generic/tclRegexp.c @@ -946,7 +946,8 @@ CompileRegexp( * Tcl_RegExpExecObj to optionally do a fast match (avoids RE engine). */ - if (TclReToGlob(NULL, string, length, &stringBuf, &exact) == TCL_OK) { + if (TclReToGlob(NULL, string, length, &stringBuf, &exact, + NULL) == TCL_OK) { regexpPtr->globObjPtr = TclDStringToObj(&stringBuf); Tcl_IncrRefCount(regexpPtr->globObjPtr); } else { |
