diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-07-24 11:33:33 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-07-24 11:33:42 +0200 |
commit | 892e3192fbed45c0fa13c91c3c18e432b95a4018 (patch) | |
tree | 7a6904932dcee6d90b32cdc145c5eaea8e7d76d0 /youtube_dl | |
parent | 7272eab9d006b4835b7dbe34ea57d7551fc03803 (diff) |
[jsinterp] Do not expect dot in simple function call
Diffstat (limited to 'youtube_dl')
-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 95e6948ff..5731e264b 100644 --- a/youtube_dl/jsinterp.py +++ b/youtube_dl/jsinterp.py @@ -130,7 +130,7 @@ class JSInterpreter(object): return a % b m = re.match( - r'^(?P<func>[.a-zA-Z$]+)\((?P<args>[a-z0-9,]+)\)$', expr) + r'^(?P<func>[a-zA-Z$]+)\((?P<args>[a-z0-9,]+)\)$', expr) if m: fname = m.group('func') argvals = tuple([ |