diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-01-26 19:59:21 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-01-26 19:59:21 (GMT) |
commit | c38d07a84806fed9a98b05707cec411170a3255d (patch) | |
tree | ef0100fc1bd40b34ddc37e71b39b4c0fcf02b1e7 /generic/tclCmdMZ.c | |
parent | 8231fb69951a8e8b62cdd6d709a4d5dab17a34a0 (diff) | |
parent | 889858de26753cb512fda204a65783c308b7b576 (diff) | |
download | tcl-c38d07a84806fed9a98b05707cec411170a3255d.zip tcl-c38d07a84806fed9a98b05707cec411170a3255d.tar.gz tcl-c38d07a84806fed9a98b05707cec411170a3255d.tar.bz2 |
merge to feature branchrfe_3464401
Diffstat (limited to 'generic/tclCmdMZ.c')
-rw-r--r-- | generic/tclCmdMZ.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c index ccf3bc6..27e4055 100644 --- a/generic/tclCmdMZ.c +++ b/generic/tclCmdMZ.c @@ -378,7 +378,7 @@ Tcl_RegexpObjCmd(dummy, interp, objc, objv) while (1) { match = Tcl_RegExpExecObj(interp, regExpr, objPtr, offset /* offset */, numMatchesSaved, eflags - | ((offset > 0 && + | ((offset > 0 && offset < stringLength && (Tcl_GetUniChar(objPtr,offset-1) != (Tcl_UniChar)'\n')) ? TCL_REG_NOTBOL : 0)); |