Re: Possible regexp typo
- --- In email@example.com, "Douglas Crockford" <douglas@...> wrote:
>Ah, that makes perfect sense.
> --- In firstname.lastname@example.org, "sandyhead25" <austin.cheney@> wrote:
> > I have found that JSLint complains about the forward slash in this:
> > /=\' /
> > but not in this:
> > / =\'/
> > It seems if the first example is worthy of complaint then the second
> > example should be so worthy.
> JSLint complains about the first case because of possible confusion with the little used /= operator. It does not have a complaint about the second case.