From: Philipp Hagemeister Date: Thu, 24 Jul 2014 09:33:33 +0000 (+0200) Subject: [jsinterp] Do not expect dot in simple function call X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=892e3192fbed45c0fa13c91c3c18e432b95a4018;p=youtube-dl [jsinterp] Do not expect dot in simple function call --- 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([