This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[jsinterp] Allow uppercase object names
totalwebcasting
Philipp Hagemeister
10 years ago
parent
b081cebefa
commit
16f8e9df8a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/jsinterp.py
+ 1
- 1
youtube_dl/jsinterp.py
View File
@ -61,7 +61,7 @@ class JSInterpreter(object):
pass
m
=
re
.
match
(
r
'
^(?P<var>[a-z]+)
\
.(?P<member>[^(]+)(?:
\
(+(?P<args>[^()]*)
\
))?$
'
,
r
'
^(?P<var>[a-z
A-Z0-9_
]+)
\
.(?P<member>[^(]+)(?:
\
(+(?P<args>[^()]*)
\
))?$
'
,
expr
)
if
m
:
variable
=
m
.
group
(
'
var
'
)
Write
Preview
Loading…
Cancel
Save