Folks<div><br></div><div>This looks like a bug to me, but after many years regexp still gives me the creeps :(</div><div><br></div><div>> regexp:gsub("abcde", "c", "x").</div><div>{ok, "abxde", 1}</div>
<div><br></div><div>One substitution, new string, tickety-boo!</div><div><br></div><div>> regexp:gsub("ab:de", ":", "&").</div><div>{ok, "ab:de", 1}</div><div><br></div><div>
One substitution, but the old string, erk?</div><div><br></div><div>Gordon</div>