<i>[string replace] refuses to replace empty substrings</i> status still Open with 6 other changes
by
.
D 2015-02-18T20:45:35.198
J closer nobody
J comment Can't\sbelieve\sI\smissed\sthis.\s\sShould\shave\sbeen\spart\r\nof\sthe\sDo\sNothing\sGracefully\scleanup.\r\n\r\nYou\scannot\suse\s[string\sreplace]\sto\sinsert\sa\ssubstring\r\nwithout\sat\sthe\ssame\stime\staking\sat\sleast\son\scharacter\r\nout.\r\n\r\n%\sstring\sreplace\sabcde\s1\s0\sh\r\nabcde\r\n\r\nInstead\sof\sthe\sresult\sany\ssane\sprogrammer\swould\r\nexpect:\r\n\r\nahbcde\r\n\r\nIn\sparticular,\sthe\suseful\scase\sof\sprepending\sis\snot\r\nsupported.\r\n\r\nRecategorize\sto\sa\sFeature\sRequest\sif\syou\smust.\s\s(This\r\nmisfeature\sis\sdocumented,\sFFS).\s\sBut\sit's\sso\sboneheaded\r\nit\slooks\slike\sa\sbug\sto\sme.
J icomment \r\nSee\salso:\r\n\r\nhttps://sourceforge.net/p/tcl/mailman/message/20466029/
J login dgp
J mimetype text/plain
J severity Minor
K 3608714fffffffffffffffffffffffffffffffff
U dgp
Z f80fc7ac5c93aa0614eb1f314dd2d7d9