about summary refs log tree commit diff
path: root/youtube_dl/jsinterp.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-07-24 11:33:33 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-07-24 11:33:42 +0200
commit892e3192fbed45c0fa13c91c3c18e432b95a4018 (patch)
tree7a6904932dcee6d90b32cdc145c5eaea8e7d76d0 /youtube_dl/jsinterp.py
parent7272eab9d006b4835b7dbe34ea57d7551fc03803 (diff)
downloadyoutube-dl-892e3192fbed45c0fa13c91c3c18e432b95a4018.tar.gz
youtube-dl-892e3192fbed45c0fa13c91c3c18e432b95a4018.tar.xz
youtube-dl-892e3192fbed45c0fa13c91c3c18e432b95a4018.zip
[jsinterp] Do not expect dot in simple function call
Diffstat (limited to 'youtube_dl/jsinterp.py')
-rw-r--r--youtube_dl/jsinterp.py2
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([