[jsinterp] Fix regexp parsing and .replace[All] method
authordirkf <fieldhouse@gmx.net>
Sun, 5 Mar 2023 23:07:07 +0000 (23:07 +0000)
committerdirkf <fieldhouse@gmx.net>
Tue, 7 Mar 2023 01:24:21 +0000 (01:24 +0000)
commit040271022709c4d20d33c604d1dbc72dc2da472d
treeef443df7cc97c4eb8f8424c7fd0589e21e087044
parent3e92c60fcd94c37428d57153dbdd14cd0a1f9226
[jsinterp] Fix regexp parsing and .replace[All] method

 * For performance, make regexp object instantiation lazy
 * Other small performance improvements
test/test_jsinterp.py
youtube_dl/jsinterp.py