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

3094regex parsing - [^]

Expand Messages
  • Luke Page
    Jan 18, 2013
    • 0 Attachment

      My colleague was linting this and getting an error

      var a = /<.+>[^]<.+>/;

      Unescaped '^'.

      He argued that [^] was a valid succinct way of saying "any character"
      rather than [.\n\r]* or [\s\S]*

      What do you think?



      [Non-text portions of this message have been removed]
    • Show all 13 messages in this topic