diff options
author | Philipp Hagemeister <[email protected]> | 2014-11-21 10:41:02 +0100 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-11-21 10:41:02 +0100 |
commit | e6c9c8f6ee05a39f79acd6395474b9f2001df42b (patch) | |
tree | 6a93b751c46015c027984432e8430d36bf60aff7 | |
parent | dfd5313afdf00250d9b8a4e103bd7647713f1af3 (diff) | |
parent | 85b9275517869bb7fb150ff65b9021ca49009b8b (diff) | |
download | youtube-dl-e6c9c8f6ee05a39f79acd6395474b9f2001df42b.tar.gz youtube-dl-e6c9c8f6ee05a39f79acd6395474b9f2001df42b.zip |
Merge pull request #4261 from tinybug/patch-4
Update jsinterp.py
-rw-r--r-- | youtube_dl/jsinterp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/jsinterp.py b/youtube_dl/jsinterp.py index c40cd376d..b4617fbad 100644 --- 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') |