--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote:
>
> Hi Bruce,
> 
> There is a problem when replace pattern is null string:
> 
> win.debug("ab0cd1".replaceg(?"\d",""))
> 
> which should be abcd, but produced ab0cd1.

I uploaded a fix for this into a new release candidate.  Could you 
please download pwrpro47.zip and make sure it works as expected for 
you?

> 
> And,
> 
> win.debug("ab0cd1".matchg(?"\d",?""))
> 
> which should be null IMHO, but produced 01.
>

I agree that this seems to be what one should expect from regex 
plugin.  However, it is pretty obscure usage for match and so, in the 
interests of changing the least possible, I left this situation as is.

Reply via email to