From 892e3192fbed45c0fa13c91c3c18e432b95a4018 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 24 Jul 2014 11:33:33 +0200 Subject: [PATCH] [jsinterp] Do not expect dot in simple function call --- youtube_dl/jsinterp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[.a-zA-Z$]+)\((?P[a-z0-9,]+)\)$', expr) + r'^(?P[a-zA-Z$]+)\((?P[a-z0-9,]+)\)$', expr) if m: fname = m.group('func') argvals = tuple([