JSVar: add cornercase
This commit is contained in:
parent
72852cee13
commit
128739aceb
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class JSVar(Regexp):
|
|||
(?:(?:\d+\.\d*|\d*\.\d+)(?:[eE]\d+)?
|
||||
|\d+[eE]\d+))
|
||||
|(?P<int>[-+]?\s*(?:0[bBxXoO])?\d+) # int ?
|
||||
|(?P<str>(?:%s|%s)) # str ?
|
||||
|(?:(?:new\s+String\()?(?P<str>(?:%s|%s))) # str ?
|
||||
|(?P<bool>true|false) # bool ?
|
||||
|(?P<None>null)) # None ?
|
||||
""" % (_quoted('"'), _quoted("'"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue