summaryrefslogtreecommitdiffstats
path: root/generic/tclRegexp.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2014-09-09 19:49:08 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2014-09-09 19:49:08 (GMT)
commite19c2ce585d7fe309059bb96044b08dbfa850a6b (patch)
tree0e1dfc6cdd11a98cd4dcc4114975380736e527fd /generic/tclRegexp.c
parent04d10eb983cb26686f38383404b6b6ef9876f9e1 (diff)
downloadtcl-e19c2ce585d7fe309059bb96044b08dbfa850a6b.zip
tcl-e19c2ce585d7fe309059bb96044b08dbfa850a6b.tar.gz
tcl-e19c2ce585d7fe309059bb96044b08dbfa850a6b.tar.bz2
[84af1192f5]: [regsub] compiler no longer confused by quantification handling.
Diffstat (limited to 'generic/tclRegexp.c')
-rw-r--r--generic/tclRegexp.c3
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 {