http://gitunderground.i2p/archive/youtube-dl/commit/94fd7746084d87a43e34b094c5db1325f91ce053?style=unified&whitespace=show-all&show-outdated=
_test ( ' function f() { return [0, 1, 2, 3, 4, 5, 6, 7, 8].slice()} ' , [ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 ] ) youtube_dl/jsinterp.py +43 -5 Unescape Escape Copy filename View File @@ -397,6 +397,9 @@ class JSInterpreter(object): RE_FLAGS = { # special knowledge: Python's re flags are bitmask values, current max 128 # invent new bitmask values well above that for literal parsing # JS 'u' flag is effectively always set (surrogate pairs aren't seen), # but...