Commit 128739ac authored by smurail's avatar smurail Committed by Romain Bignon

JSVar: add cornercase

parent 72852cee
......@@ -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("'"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment