Jump to content

John Curley

Members
  • Posts

    1
  • Joined

  • Last visited

John Curley's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. I am an occasional user of javascript who relies on W3Schools reference and tutorials, which are great. However I recently wasted over an hour tracking a problem due to a misleading description in the Regexp Object reference, namely the line: [A-z] Find any character from uppercase A to lowercase z What isn't mentioned is that the regular expression [A-z] also finds other things like brackets, backslash and underline. This caused my program to complain about missing brackets. I suggest the problem line read instead: [a-zA-Z] Find any character from uppercase A to lowercase z
×
×
  • Create New...