Re: . in RegExp literals
- --- In email@example.com, "Douglas Crockford" <douglas@...>
>I think this is a good option. I'm not sure if I will use it (at least
> I have been convinced that . in Regular Expression literals is
> dangerous because it usually does not precisely match what was
> intended. That can lead to reliability and even secure problems.
> JSLint now has a 'regexp' option to reject /./.
not at first) but this has me thinking more about my regular
expressions and using "." haphazardly.