Hi Bruce,

There is a problem when replace pattern is null string:

win.debug("ab0cd1".replaceg(?"\d",""))

which should be abcd, but produced ab0cd1.

And,

win.debug("ab0cd1".matchg(?"\d",?""))

which should be null IMHO, but produced 01.

Looks like all these are originated from allowing simply
match("string", "pattern")

Sean

Reply via email to