.
D 2003-06-16T14:11:55
J assignee dkf
J cmimetype text/plain
J comment Despite\sthe\sfact\sthat\spatterns\slike\s'^'\scan\sand\sdo\smatch\s\nthe\sempty\sstring,\s'regsub'\swill\srefuse\sto\sacknowledge\s\nthem\sand\srefuse\sto\sperform\ssubstitutions.\n\nFor\sexample:\n\nGOOD:\n%\sregexp\s--\s^\s{}\n1\n\nBAD:\n\n%\sregsub\s--\s^\s{}\s{replace}\svar\n0\n%\sset\svar\n<empty\sstring>\n\nOf\scourse\sthis\sshould\sreplace\s'{}'\swith\s'replace'.\n\n\n\n
J foundin obsolete:\s8.4.3
J priority 5\sMedium
J resolution None
J status Open
J submitter vincentdarley
J subsystem 18.\sCommands\sM-Z
J title regsub\swon't\ssubstitute\sagainst\san\sempty\sstring
J type Bug
K 755335ffffffffffffffffffffffffffffffffff
U vincentdarley
Z 51ebea460574e1109bec2c15d1034c8b