Re: Bug in rhino.js
- --- In email@example.com, "iain_dalton" <iain.dalton@...> wrote:
>Good. So it now warns about insecure, rather than unexpected, usage.
> douglascrockford wrote:
> > tsepez wrote:
> > > In additon to .* , you might want to flag things of the form [^x]* , which tend to match more than expected -- yes, I've been burned by this before.
> > Good point. I have been burned too.
> I think you should have a more verbose message than "unexpected '.'". There are real-life situations where . is probably OK