Bug of new RegExp

Hannes Wallnoefer hannes.wallnoefer at oracle.com
Thu Aug 22 00:26:32 PDT 2013


Ho Gocho,

Thanks for the report. I filed a bug and am working on it.

Hannes

Am 2013-07-30 05:44, schrieb toshiyuki kojima:
> Hello,
>
> I found a bug of new RegExp, (new RegExp('')).toString() should return not
> '//' but '/(?:)/'.
>
>
> I confirmed this bug using following revision:
>
>    changeset:   0532397d0732
>
>    date:        Mon Jul 29 18:07:20 2013 +0530
>
>    summary:     8012792: print function defined in engine.js does not handle
> multiple arguments Reviewed-by: hannesw
>
>
> http://ecma-international.org/ecma-262/5.1/#sec-15.10.4.1
>
>
> Thanks,
>
> --gocho
>
> twitter.com/gocho



More information about the nashorn-dev mailing list