fix broken simplenum regex for rangenodes...

This commit is contained in:
Jeremy Ashkenas
2010-09-01 21:20:23 -04:00
parent a1ebb14495
commit 9290e508c6
2 changed files with 2 additions and 2 deletions

View File

@@ -1605,7 +1605,7 @@ TRAILING_WHITESPACE = /[ \t]+$/gm
# Keep these identifier regexes in sync with the Lexer.
IDENTIFIER = /^[a-zA-Z\$_](\w|\$)*$/
NUMBER = /^(((\b0(x|X)[0-9a-fA-F]+)|((\b[0-9]+(\.[0-9]+)?|\.[0-9]+)(e[+\-]?[0-9]+)?)))\b$/i
SIMPLENUM = /^-?\d+/
SIMPLENUM = /^-?\d+$/
# Is a literal value a string?
IS_STRING = /^['"]/