0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-29 03:23:02 +00:00

[jsinterp] Do not expect dot in simple function call

This commit is contained in:
Philipp Hagemeister 2014-07-24 11:33:33 +02:00
parent 7272eab9d0
commit 892e3192fb

View file

@ -130,7 +130,7 @@ def interpret_expression(self, expr, local_vars, allow_recursion):
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([