[jsinterp] Handle regexp literals and throw/catch execution (#31182)
authordirkf <fieldhouse@gmx.net>
Fri, 19 Aug 2022 10:45:04 +0000 (11:45 +0100)
committerGitHub <noreply@github.com>
Fri, 19 Aug 2022 10:45:04 +0000 (11:45 +0100)
commit538ec65ba7634bb9ad9f8eb4ce72713c673969dc
tree4ee6102400e83628c076ba06a83ea0490b8d7680
parentb0a60ce2032172aeaaf27fe3866ab72768f10cb2
[jsinterp] Handle regexp literals and throw/catch execution (#31182)

* based on https://github.com/yt-dlp/yt-dlp/commit/f6ca640b122239d5ab215f8c2564efb7ac3e8c65, thanks pukkandan
* adds parse support for regexp flags
test/test_jsinterp.py
test/test_youtube_signature.py
youtube_dl/jsinterp.py