mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[jsinterp] Do not expect dot in simple function call
This commit is contained in:
		@@ -130,7 +130,7 @@ class JSInterpreter(object):
 | 
				
			|||||||
            return a % b
 | 
					            return a % b
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        m = re.match(
 | 
					        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:
 | 
					        if m:
 | 
				
			||||||
            fname = m.group('func')
 | 
					            fname = m.group('func')
 | 
				
			||||||
            argvals = tuple([
 | 
					            argvals = tuple([
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user