commit 892e3192fbed45c0fa13c91c3c18e432b95a4018 parent 7272eab9d006b4835b7dbe34ea57d7551fc03803 Author: Philipp Hagemeister <phihag@phihag.de> Date: Thu, 24 Jul 2014 11:33:33 +0200 [jsinterp] Do not expect dot in simple function call 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 @@ -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([