Bug of new RegExp
toshiyuki kojima
basabasafoo at gmail.com
Mon Jul 29 20:44:44 PDT 2013
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