parent
13ff780953
commit
01aba2519a
2 changed files with 7 additions and 2 deletions
|
|
@ -779,7 +779,7 @@ class JSInterpreter:
|
|||
obj = {}
|
||||
obj_m = re.search(
|
||||
r'''(?x)
|
||||
(?<!this\.)%s\s*=\s*{\s*
|
||||
(?<!\.)%s\s*=\s*{\s*
|
||||
(?P<fields>(%s\s*:\s*function\s*\(.*?\)\s*{.*?}(?:,\s*)?)*)
|
||||
}\s*;
|
||||
''' % (re.escape(objname), _FUNC_NAME_RE),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue