Skip to content
Tcl Source Code Artifact [7dc6c9ad32]
Login

Artifact [7dc6c9ad32]

Artifact 7dc6c9ad320b7e550279d1b76ac2a126e2cf3611:

Ticket change [7dc6c9ad32] - New ticket [3608714fffffffff|3608714fff] <i>[string replace] refuses to replace empty substrings</i>. by dgp on 2013-03-21 14:11:51.
D 2013-03-21T14:11:51
J assignee dkf
J cmimetype text/plain
J comment \nCan't\sbelieve\sI\smissed\sthis.\s\sShould\shave\sbeen\spart\nof\sthe\sDo\sNothing\sGracefully\scleanup.\n\nYou\scannot\suse\s[string\sreplace]\sto\sinsert\sa\ssubstring\nwithout\sat\sthe\ssame\stime\staking\sat\sleast\son\scharacter\nout.\n\n%\sstring\sreplace\sabcde\s1\s0\sh\nabcde\n\nInstead\sof\sthe\sresult\sany\ssane\sprogrammer\swould\nexpect:\n\nahbcde\n\nIn\sparticular,\sthe\suseful\scase\sof\sprepending\sis\snot\nsupported.\n\nRecategorize\sto\sa\sFeature\sRequest\sif\syou\smust.\s\s(This\nmisfeature\sis\sdocumented,\sFFS).\s\sBut\sit's\sso\sboneheaded\nit\slooks\slike\sa\sbug\sto\sme.\n\n
J foundin current:\s8.6.0
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 18.\sCommands\sM-Z
J title [string\sreplace]\srefuses\sto\sreplace\sempty\ssubstrings
J type Bug
K 3608714fffffffffffffffffffffffffffffffff
U dgp
Z c6db0fd6475b6517e3b3d4acd6144c85