I found Rhino can't parse the following line : (The error : ...
missing ")" ...)
win.location.href="/signup?
next_url="+encodeURIComponent(win.location.href.replace(/http:\/\/
[^/]*/,""));
But it can pass, after I change
win.location.href.replace(/http:\/\/[^/]*/,"") to
win.location.href.replace("http:\/\/[^/]*","")
I don't know this is a known bug or not.
Thanks,
nbruce
Fixed and checked into CVS.
Thanks, Norris. Can I pull down the updated files from CVS ? Is
NativeRegExp class?
Yes, look under "Source" at http://www.mozilla.org/rhino/download.html
> Is
> NativeRegExp class?
No, org.mozilla.javascript.TokenStream
I see. Thank you very much. :)