Loading ...
Sorry, an error occurred while loading the content.

628Re: Possible regexp typo

Expand Messages
  • sandyhead25
    Jun 8, 2009
      --- In jslint_com@yahoogroups.com, "Douglas Crockford" <douglas@...> wrote:
      >
      > --- In jslint_com@yahoogroups.com, "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.
      >

      Ah, that makes perfect sense.
    • Show all 3 messages in this topic