commit e6c9c8f6ee05a39f79acd6395474b9f2001df42b parent dfd5313afdf00250d9b8a4e103bd7647713f1af3 Author: Philipp Hagemeister <phihag@phihag.de> Date: Fri, 21 Nov 2014 10:41:02 +0100 Merge pull request #4261 from tinybug/patch-4 Update jsinterp.py Diffstat:
M | youtube_dl/jsinterp.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/jsinterp.py b/youtube_dl/jsinterp.py @@ -61,7 +61,7 @@ class JSInterpreter(object): pass m = re.match( - r'^(?P<var>[a-zA-Z0-9_]+)\.(?P<member>[^(]+)(?:\(+(?P<args>[^()]*)\))?$', + r'^(?P<var>[$a-zA-Z0-9_]+)\.(?P<member>[^(]+)(?:\(+(?P<args>[^()]*)\))?$', expr) if m: variable = m.group('var')