Skip to content
Tcl Source Code Artifact [57f14f8663]
Login

Artifact [57f14f8663]

Artifact 57f14f8663e6452682c06fcbb0491f088b673b75:

Ticket change [57f14f8663] - Closed ticket [84af1192f514f190|84af1192f5]: <i>&quot;regsub -all c.*&quot; is errorneously compiled to &quot;string map&quot;</i> plus 6 other changes by dkf on 2014-09-09 19:55:29.
D 2014-09-09T19:55:29.915
J closedate 2456910.33020735
J closer dkf
J icomment Minimal\stest\sis\sto\slook\sat\sresult\sof:\r\n<pre>\r\nregsub\s-all\s{\\(.*}\s123(qwe)\s""\r\n</pre>\r\nWhich\sshould\sbe\s3\scharacters\slong.\r\n<p>\r\nThis\sis\snow\sfixed.\sThe\sproblem\swas\sthat\sthe\s<tt>.*</tt>\sat\sthe\send\sof\sthe\spattern\swas\sbeing\sinterpreted\sas\sif\sit\swasn't\sthere,\swhich\sis\scorrect\sfor\snon-capturing\s<tt>regexp</tt>\sbut\swrong\sfor\s<tt>regsub</tt>\s(which\sis\seffectively\salways\scapturing).\r\n<p>\r\nThere\swould\shave\salso\sbeen\sa\sproblem\swith\sthis\smore\sunusual\spattern\s(it's\sthe\ssame\scause\sas\sabove,\sthe\sidentical\sbug\sand\sthe\sidentical\sfix):\r\n<pre>\r\nregsub\s-all\s{.*\\(}\s123(qwe)\s""\r\n</pre>
J login dkf
J mimetype text/html
J resolution Fixed
J status Closed
K 84af1192f514f190a1d14f31394ced8b6816e633
U dkf
Z 2e2f5b2d33d7c4cf7f2c0d529d0eb579