projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b081ceb
)
[jsinterp] Allow uppercase object names
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 25 Jul 2014 04:54:52 +0000
(06:54 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 25 Jul 2014 04:54:52 +0000
(06:54 +0200)
youtube_dl/jsinterp.py
patch
|
blob
|
history
diff --git
a/youtube_dl/jsinterp.py
b/youtube_dl/jsinterp.py
index 5731e264baa06d276373d6bf7290e9b1df47ef68..7f00586ae3217cfaa1b2912316736904eddeb964 100644
(file)
--- a/
youtube_dl/jsinterp.py
+++ b/
youtube_dl/jsinterp.py
@@
-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')