Skip to content
Tcl Source Code Artifact [681c1906bd]
Login

Artifact [681c1906bd]

Artifact 681c1906bd20fdf80ea7577ef1594246e74be669:

Ticket change [681c1906bd] - Ticket [3106532fffffffff|3106532fff] <i>&quot;switch -regexp -indexvar&quot; gives invalid range</i> status still Open with 4 other changes by martinlemburg on 2010-11-10 23:46:33.
D 2010-11-10T23:46:33
J icomment In\stclCmdMZ.c:\nline\s276+277\s(Tcl_RegexpObjCmd):\nmatch\s=\sTcl_RegExpExecObj(interp,\sregExpr,\sobjPtr,\soffset,\snumMatchesSaved,\seflags);\n\nline\s3740+3741\s(Tcl_SwitchObjCmd):\nint\smatched\s=\sTcl_RegExpExecObj(interp,\sregExpr,\sstringObj,\s0,\snumMatchesSaved,\s0);\n\nThe\sfirst\scall\sto\sTcl_RegExpExecObj\shas\san\s"offset",\sthat\slater\son\sin\s...\n\nline\s341-343:\n\s\s\s\sif\s(end\s>=\soffset)\s{\nend--;\n\s\s\s\s}\n\s\n...\sis\sused\sto\scorrect\sthe\s"end"\sindex\sto\spoint\sto\sthe\slast\scharacter\sof\sthe\smatch.\n\nThis\sis\smissing\sin\sTcl_SwitchObjCmd!\n\nSince\smy\stime\sis\slimited\sI\swas\snot\syet\sable\sto\sthink\sabout\sthe\soffset\s...\s:(\n
J login martinlemburg
J mimetype text/plain
J username martinlemburg
K 3106532fffffffffffffffffffffffffffffffff
U martinlemburg
Z a8c796f90dbeebb322e5ffc6c6412b1d