mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 15:14:57 +00:00
[jsinterp] Do not expect dot in simple function call
This commit is contained in:
parent
7272eab9d0
commit
892e3192fb
1 changed files with 1 additions and 1 deletions
|
@ -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([
|
||||
|
|
Loading…
Reference in a new issue