[Pkg-javascript-devel] Bug#1002240: node-regexpu-core: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 15

Lucas Nussbaum lucas at debian.org
Tue Dec 21 16:34:10 GMT 2021


Source: node-regexpu-core
Version: 4.8.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=nodejs
>    dh_auto_build --buildsystem=nodejs
>    dh_auto_test --buildsystem=nodejs
> 	mkdir -p node_modules
> 	ln -s ../debian/tests/test_modules/regexpu-fixtures node_modules/regexpu-fixtures
> 	ln -s ../. node_modules/regexpu-core
> 	/bin/sh -ex debian/tests/pkg-js/test
> + mocha tests
> 
> 
>   rewritePattern
>     undefined rewrites `/./` correctly
>     undefined rewrites `/./i` correctly
>     undefined rewrites `/./g` correctly
>     undefined rewrites `/./m` correctly
>     undefined rewrites `/./y` correctly
>     undefined rewrites `/./ig` correctly
>     undefined rewrites `/./im` correctly
>     undefined rewrites `/./igm` correctly
>     undefined rewrites `/./igmy` correctly
>     undefined rewrites `/./u` correctly
>     undefined rewrites `/./ui` correctly
>     undefined rewrites `/./ug` correctly
>     undefined rewrites `/./um` correctly
>     undefined rewrites `/./uy` correctly
>     undefined rewrites `/./uig` correctly
>     undefined rewrites `/./uim` correctly
>     undefined rewrites `/./uigm` correctly
>     undefined rewrites `/./uigmy` correctly
>     undefined rewrites `/\s/` correctly
>     undefined rewrites `/\s/i` correctly
>     undefined rewrites `/\s/g` correctly
>     undefined rewrites `/\s/m` correctly
>     undefined rewrites `/\s/y` correctly
>     undefined rewrites `/\s/ig` correctly
>     undefined rewrites `/\s/im` correctly
>     undefined rewrites `/\s/igm` correctly
>     undefined rewrites `/\s/igmy` correctly
>     undefined rewrites `/\s/u` correctly
>     undefined rewrites `/\s/ui` correctly
>     undefined rewrites `/\s/ug` correctly
>     undefined rewrites `/\s/um` correctly
>     undefined rewrites `/\s/uy` correctly
>     undefined rewrites `/\s/uig` correctly
>     undefined rewrites `/\s/uim` correctly
>     undefined rewrites `/\s/uigm` correctly
>     undefined rewrites `/\s/uigmy` correctly
>     undefined rewrites `/\S/` correctly
>     undefined rewrites `/\S/i` correctly
>     undefined rewrites `/\S/g` correctly
>     undefined rewrites `/\S/m` correctly
>     undefined rewrites `/\S/y` correctly
>     undefined rewrites `/\S/ig` correctly
>     undefined rewrites `/\S/im` correctly
>     undefined rewrites `/\S/igm` correctly
>     undefined rewrites `/\S/igmy` correctly
>     undefined rewrites `/\S/u` correctly
>     undefined rewrites `/\S/ui` correctly
>     undefined rewrites `/\S/ug` correctly
>     undefined rewrites `/\S/um` correctly
>     undefined rewrites `/\S/uy` correctly
>     undefined rewrites `/\S/uig` correctly
>     undefined rewrites `/\S/uim` correctly
>     undefined rewrites `/\S/uigm` correctly
>     undefined rewrites `/\S/uigmy` correctly
>     undefined rewrites `/[\s\S]/` correctly
>     undefined rewrites `/[\s\S]/i` correctly
>     undefined rewrites `/[\s\S]/g` correctly
>     undefined rewrites `/[\s\S]/m` correctly
>     undefined rewrites `/[\s\S]/y` correctly
>     undefined rewrites `/[\s\S]/ig` correctly
>     undefined rewrites `/[\s\S]/im` correctly
>     undefined rewrites `/[\s\S]/igm` correctly
>     undefined rewrites `/[\s\S]/igmy` correctly
>     undefined rewrites `/[\s\S]/u` correctly
>     undefined rewrites `/[\s\S]/ui` correctly
>     undefined rewrites `/[\s\S]/ug` correctly
>     undefined rewrites `/[\s\S]/um` correctly
>     undefined rewrites `/[\s\S]/uy` correctly
>     undefined rewrites `/[\s\S]/uig` correctly
>     undefined rewrites `/[\s\S]/uim` correctly
>     undefined rewrites `/[\s\S]/uigm` correctly
>     undefined rewrites `/[\s\S]/uigmy` correctly
>     undefined rewrites `/\d/u` correctly
>     undefined rewrites `/\d/ui` correctly
>     undefined rewrites `/\d/ug` correctly
>     undefined rewrites `/\d/um` correctly
>     undefined rewrites `/\d/uy` correctly
>     undefined rewrites `/\d/uig` correctly
>     undefined rewrites `/\d/uim` correctly
>     undefined rewrites `/\d/uigm` correctly
>     undefined rewrites `/\d/uigmy` correctly
>     undefined rewrites `/\D/` correctly
>     undefined rewrites `/\D/i` correctly
>     undefined rewrites `/\D/g` correctly
>     undefined rewrites `/\D/m` correctly
>     undefined rewrites `/\D/y` correctly
>     undefined rewrites `/\D/ig` correctly
>     undefined rewrites `/\D/im` correctly
>     undefined rewrites `/\D/igm` correctly
>     undefined rewrites `/\D/igmy` correctly
>     undefined rewrites `/\D/u` correctly
>     undefined rewrites `/\D/ui` correctly
>     undefined rewrites `/\D/ug` correctly
>     undefined rewrites `/\D/um` correctly
>     undefined rewrites `/\D/uy` correctly
>     undefined rewrites `/\D/uig` correctly
>     undefined rewrites `/\D/uim` correctly
>     undefined rewrites `/\D/uigm` correctly
>     undefined rewrites `/\D/uigmy` correctly
>     undefined rewrites `/[\d\D]/` correctly
>     undefined rewrites `/[\d\D]/i` correctly
>     undefined rewrites `/[\d\D]/g` correctly
>     undefined rewrites `/[\d\D]/m` correctly
>     undefined rewrites `/[\d\D]/y` correctly
>     undefined rewrites `/[\d\D]/ig` correctly
>     undefined rewrites `/[\d\D]/im` correctly
>     undefined rewrites `/[\d\D]/igm` correctly
>     undefined rewrites `/[\d\D]/igmy` correctly
>     undefined rewrites `/[\d\D]/u` correctly
>     undefined rewrites `/[\d\D]/ui` correctly
>     undefined rewrites `/[\d\D]/ug` correctly
>     undefined rewrites `/[\d\D]/um` correctly
>     undefined rewrites `/[\d\D]/uy` correctly
>     undefined rewrites `/[\d\D]/uig` correctly
>     undefined rewrites `/[\d\D]/uim` correctly
>     undefined rewrites `/[\d\D]/uigm` correctly
>     undefined rewrites `/[\d\D]/uigmy` correctly
>     undefined rewrites `/\w/u` correctly
>     undefined rewrites `/\w/ug` correctly
>     undefined rewrites `/\w/um` correctly
>     undefined rewrites `/\w/uy` correctly
>     undefined rewrites `/\w/ugm` correctly
>     undefined rewrites `/\w/ugmy` correctly
>     undefined rewrites `/\w/ui` correctly
>     undefined rewrites `/\w/uig` correctly
>     undefined rewrites `/\w/uim` correctly
>     undefined rewrites `/\w/uigm` correctly
>     undefined rewrites `/\w/uigmy` correctly
>     undefined rewrites `/\W/u` correctly
>     undefined rewrites `/\W/ug` correctly
>     undefined rewrites `/\W/um` correctly
>     undefined rewrites `/\W/uy` correctly
>     undefined rewrites `/\W/ugm` correctly
>     undefined rewrites `/\W/ugmy` correctly
>     undefined rewrites `/\W/ui` correctly
>     undefined rewrites `/\W/uig` correctly
>     undefined rewrites `/\W/uim` correctly
>     undefined rewrites `/\W/uigm` correctly
>     undefined rewrites `/\W/uigmy` correctly
>     undefined rewrites `/[\w\W]/` correctly
>     undefined rewrites `/[\w\W]/i` correctly
>     undefined rewrites `/[\w\W]/g` correctly
>     undefined rewrites `/[\w\W]/m` correctly
>     undefined rewrites `/[\w\W]/y` correctly
>     undefined rewrites `/[\w\W]/ig` correctly
>     undefined rewrites `/[\w\W]/im` correctly
>     undefined rewrites `/[\w\W]/igm` correctly
>     undefined rewrites `/[\w\W]/igmy` correctly
>     undefined rewrites `/[\w\W]/u` correctly
>     undefined rewrites `/[\w\W]/ui` correctly
>     undefined rewrites `/[\w\W]/ug` correctly
>     undefined rewrites `/[\w\W]/um` correctly
>     undefined rewrites `/[\w\W]/uy` correctly
>     undefined rewrites `/[\w\W]/uig` correctly
>     undefined rewrites `/[\w\W]/uim` correctly
>     undefined rewrites `/[\w\W]/uigm` correctly
>     undefined rewrites `/[\w\W]/uigmy` correctly
>     undefined rewrites `/[𝌆-𝌈a-z]/u` correctly
>     undefined rewrites `/[𝌆-𝌈a-z]/ug` correctly
>     undefined rewrites `/[𝌆-𝌈a-z]/um` correctly
>     undefined rewrites `/[𝌆-𝌈a-z]/uy` correctly
>     undefined rewrites `/[𝌆-𝌈a-z]/ugm` correctly
>     undefined rewrites `/[𝌆-𝌈a-z]/ugmy` correctly
>     undefined rewrites `/[\uD834\uDF06-\uD834\uDF08a-z]/u` correctly
>     undefined rewrites `/[\uD834\uDF06-\uD834\uDF08a-z]/ug` correctly
>     undefined rewrites `/[\uD834\uDF06-\uD834\uDF08a-z]/um` correctly
>     undefined rewrites `/[\uD834\uDF06-\uD834\uDF08a-z]/uy` correctly
>     undefined rewrites `/[\uD834\uDF06-\uD834\uDF08a-z]/ugm` correctly
>     undefined rewrites `/[\uD834\uDF06-\uD834\uDF08a-z]/ugmy` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]/u` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]/ug` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]/um` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]/uy` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]/ugm` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]/ugmy` correctly
>     undefined rewrites `/[\u{0000000000001D306}-\u{000000000000000000000001D308}a-z]/u` correctly
>     undefined rewrites `/[\u{0000000000001D306}-\u{000000000000000000000001D308}a-z]/ug` correctly
>     undefined rewrites `/[\u{0000000000001D306}-\u{000000000000000000000001D308}a-z]/um` correctly
>     undefined rewrites `/[\u{0000000000001D306}-\u{000000000000000000000001D308}a-z]/uy` correctly
>     undefined rewrites `/[\u{0000000000001D306}-\u{000000000000000000000001D308}a-z]/ugm` correctly
>     undefined rewrites `/[\u{0000000000001D306}-\u{000000000000000000000001D308}a-z]/ugmy` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]+/u` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]+/ug` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]+/um` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]+/uy` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]+/ugm` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]+/ugmy` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]/ui` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]/uig` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]/uim` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]/uigm` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]/uigmy` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]+/ui` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]+/uig` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]+/uim` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]+/uigm` correctly
>     undefined rewrites `/[\u{1D306}-\u{1D308}a-z]+/uigmy` correctly
>     undefined rewrites `/[a-z]/ui` correctly
>     undefined rewrites `/[a-z]/uig` correctly
>     undefined rewrites `/[a-z]/uim` correctly
>     undefined rewrites `/[a-z]/uigm` correctly
>     undefined rewrites `/[a-z]/uigmy` correctly
>     undefined rewrites `/[A-Z]/ui` correctly
>     undefined rewrites `/[A-Z]/uig` correctly
>     undefined rewrites `/[A-Z]/uim` correctly
>     undefined rewrites `/[A-Z]/uigm` correctly
>     undefined rewrites `/[A-Z]/uigmy` correctly
>     undefined rewrites `/[\u017F\u212A]/u` correctly
>     undefined rewrites `/[\u017F\u212A]/ug` correctly
>     undefined rewrites `/[\u017F\u212A]/um` correctly
>     undefined rewrites `/[\u017F\u212A]/uy` correctly
>     undefined rewrites `/[\u017F\u212A]/ugm` correctly
>     undefined rewrites `/[\u017F\u212A]/ugmy` correctly
>     undefined rewrites `/[\u017F\u212A]/ui` correctly
>     undefined rewrites `/[\u017F\u212A]/uig` correctly
>     undefined rewrites `/[\u017F\u212A]/uim` correctly
>     undefined rewrites `/[\u017F\u212A]/uigm` correctly
>     undefined rewrites `/[\u017F\u212A]/uigmy` correctly
>     undefined rewrites `/\uD806\uDCDF/u` correctly
>     undefined rewrites `/\uD806\uDCDF/ug` correctly
>     undefined rewrites `/\uD806\uDCDF/um` correctly
>     undefined rewrites `/\uD806\uDCDF/uy` correctly
>     undefined rewrites `/\uD806\uDCDF/ugm` correctly
>     undefined rewrites `/\uD806\uDCDF/ugmy` correctly
>     undefined rewrites `/\uD806\uDCDF/ui` correctly
>     undefined rewrites `/\uD806\uDCDF/uig` correctly
>     undefined rewrites `/\uD806\uDCDF/uim` correctly
>     undefined rewrites `/\uD806\uDCDF/uigm` correctly
>     undefined rewrites `/\uD806\uDCDF/uigmy` correctly
>     undefined rewrites `/[^a]/` correctly
>     undefined rewrites `/[^a]/i` correctly
>     undefined rewrites `/[^a]/g` correctly
>     undefined rewrites `/[^a]/m` correctly
>     undefined rewrites `/[^a]/y` correctly
>     undefined rewrites `/[^a]/ig` correctly
>     undefined rewrites `/[^a]/im` correctly
>     undefined rewrites `/[^a]/igm` correctly
>     undefined rewrites `/[^a]/igmy` correctly
>     undefined rewrites `/[^a]/u` correctly
>     undefined rewrites `/[^a]/ui` correctly
>     undefined rewrites `/[^a]/ug` correctly
>     undefined rewrites `/[^a]/um` correctly
>     undefined rewrites `/[^a]/uy` correctly
>     undefined rewrites `/[^a]/uig` correctly
>     undefined rewrites `/[^a]/uim` correctly
>     undefined rewrites `/[^a]/uigm` correctly
>     undefined rewrites `/[^a]/uigmy` correctly
>     undefined rewrites `/[ab]+/u` correctly
>     undefined rewrites `/[ab]+/ui` correctly
>     undefined rewrites `/[ab]+/ug` correctly
>     undefined rewrites `/[ab]+/um` correctly
>     undefined rewrites `/[ab]+/uy` correctly
>     undefined rewrites `/[ab]+/uig` correctly
>     undefined rewrites `/[ab]+/uim` correctly
>     undefined rewrites `/[ab]+/uigm` correctly
>     undefined rewrites `/[ab]+/uigmy` correctly
>     undefined rewrites `/[ab]+/` correctly
>     undefined rewrites `/[ab]+/i` correctly
>     undefined rewrites `/[ab]+/g` correctly
>     undefined rewrites `/[ab]+/m` correctly
>     undefined rewrites `/[ab]+/y` correctly
>     undefined rewrites `/[ab]+/ig` correctly
>     undefined rewrites `/[ab]+/im` correctly
>     undefined rewrites `/[ab]+/igm` correctly
>     undefined rewrites `/[ab]+/igmy` correctly
>     undefined rewrites `/^(?:ab|cd)$/u` correctly
>     undefined rewrites `/^(?:ab|cd)$/ui` correctly
>     undefined rewrites `/^(?:ab|cd)$/ug` correctly
>     undefined rewrites `/^(?:ab|cd)$/um` correctly
>     undefined rewrites `/^(?:ab|cd)$/uy` correctly
>     undefined rewrites `/^(?:ab|cd)$/uig` correctly
>     undefined rewrites `/^(?:ab|cd)$/uim` correctly
>     undefined rewrites `/^(?:ab|cd)$/uigm` correctly
>     undefined rewrites `/^(?:ab|cd)$/uigmy` correctly
>     undefined rewrites `/^(?:ab|cd)$/` correctly
>     undefined rewrites `/^(?:ab|cd)$/i` correctly
>     undefined rewrites `/^(?:ab|cd)$/g` correctly
>     undefined rewrites `/^(?:ab|cd)$/m` correctly
>     undefined rewrites `/^(?:ab|cd)$/y` correctly
>     undefined rewrites `/^(?:ab|cd)$/ig` correctly
>     undefined rewrites `/^(?:ab|cd)$/im` correctly
>     undefined rewrites `/^(?:ab|cd)$/igm` correctly
>     undefined rewrites `/^(?:ab|cd)$/igmy` correctly
>     undefined rewrites `/[𝌆]/` correctly
>     undefined rewrites `/[𝌆]/i` correctly
>     undefined rewrites `/[𝌆]/g` correctly
>     undefined rewrites `/[𝌆]/m` correctly
>     undefined rewrites `/[𝌆]/y` correctly
>     undefined rewrites `/[𝌆]/ig` correctly
>     undefined rewrites `/[𝌆]/im` correctly
>     undefined rewrites `/[𝌆]/igm` correctly
>     undefined rewrites `/[𝌆]/igmy` correctly
>     undefined rewrites `/[𝌆]/u` correctly
>     undefined rewrites `/[𝌆]/ui` correctly
>     undefined rewrites `/[𝌆]/ug` correctly
>     undefined rewrites `/[𝌆]/um` correctly
>     undefined rewrites `/[𝌆]/uy` correctly
>     undefined rewrites `/[𝌆]/uig` correctly
>     undefined rewrites `/[𝌆]/uim` correctly
>     undefined rewrites `/[𝌆]/uigm` correctly
>     undefined rewrites `/[𝌆]/uigmy` correctly
>     undefined rewrites `/𝌆+/` correctly
>     undefined rewrites `/𝌆+/i` correctly
>     undefined rewrites `/𝌆+/g` correctly
>     undefined rewrites `/𝌆+/m` correctly
>     undefined rewrites `/𝌆+/y` correctly
>     undefined rewrites `/𝌆+/ig` correctly
>     undefined rewrites `/𝌆+/im` correctly
>     undefined rewrites `/𝌆+/igm` correctly
>     undefined rewrites `/𝌆+/igmy` correctly
>     undefined rewrites `/𝌆+/u` correctly
>     undefined rewrites `/𝌆+/ui` correctly
>     undefined rewrites `/𝌆+/ug` correctly
>     undefined rewrites `/𝌆+/um` correctly
>     undefined rewrites `/𝌆+/uy` correctly
>     undefined rewrites `/𝌆+/uig` correctly
>     undefined rewrites `/𝌆+/uim` correctly
>     undefined rewrites `/𝌆+/uigm` correctly
>     undefined rewrites `/𝌆+/uigmy` correctly
>     undefined rewrites `/\uD834\uDF06+/` correctly
>     undefined rewrites `/\uD834\uDF06+/i` correctly
>     undefined rewrites `/\uD834\uDF06+/g` correctly
>     undefined rewrites `/\uD834\uDF06+/m` correctly
>     undefined rewrites `/\uD834\uDF06+/y` correctly
>     undefined rewrites `/\uD834\uDF06+/ig` correctly
>     undefined rewrites `/\uD834\uDF06+/im` correctly
>     undefined rewrites `/\uD834\uDF06+/igm` correctly
>     undefined rewrites `/\uD834\uDF06+/igmy` correctly
>     undefined rewrites `/\uD834\uDF06+/u` correctly
>     undefined rewrites `/\uD834\uDF06+/ui` correctly
>     undefined rewrites `/\uD834\uDF06+/ug` correctly
>     undefined rewrites `/\uD834\uDF06+/um` correctly
>     undefined rewrites `/\uD834\uDF06+/uy` correctly
>     undefined rewrites `/\uD834\uDF06+/uig` correctly
>     undefined rewrites `/\uD834\uDF06+/uim` correctly
>     undefined rewrites `/\uD834\uDF06+/uigm` correctly
>     undefined rewrites `/\uD834\uDF06+/uigmy` correctly
>     undefined rewrites `/\u{D834}\u{DF06}+/u` correctly
>     undefined rewrites `/\u{D834}\u{DF06}+/ui` correctly
>     undefined rewrites `/\u{D834}\u{DF06}+/ug` correctly
>     undefined rewrites `/\u{D834}\u{DF06}+/um` correctly
>     undefined rewrites `/\u{D834}\u{DF06}+/uy` correctly
>     undefined rewrites `/\u{D834}\u{DF06}+/uig` correctly
>     undefined rewrites `/\u{D834}\u{DF06}+/uim` correctly
>     undefined rewrites `/\u{D834}\u{DF06}+/uigm` correctly
>     undefined rewrites `/\u{D834}\u{DF06}+/uigmy` correctly
>     undefined rewrites `/𝌆{2,4}/` correctly
>     undefined rewrites `/𝌆{2,4}/i` correctly
>     undefined rewrites `/𝌆{2,4}/g` correctly
>     undefined rewrites `/𝌆{2,4}/m` correctly
>     undefined rewrites `/𝌆{2,4}/y` correctly
>     undefined rewrites `/𝌆{2,4}/ig` correctly
>     undefined rewrites `/𝌆{2,4}/im` correctly
>     undefined rewrites `/𝌆{2,4}/igm` correctly
>     undefined rewrites `/𝌆{2,4}/igmy` correctly
>     undefined rewrites `/𝌆{2,4}/u` correctly
>     undefined rewrites `/𝌆{2,4}/ui` correctly
>     undefined rewrites `/𝌆{2,4}/ug` correctly
>     undefined rewrites `/𝌆{2,4}/um` correctly
>     undefined rewrites `/𝌆{2,4}/uy` correctly
>     undefined rewrites `/𝌆{2,4}/uig` correctly
>     undefined rewrites `/𝌆{2,4}/uim` correctly
>     undefined rewrites `/𝌆{2,4}/uigm` correctly
>     undefined rewrites `/𝌆{2,4}/uigmy` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/i` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/g` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/m` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/y` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/ig` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/im` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/igm` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/igmy` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/u` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/ui` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/ug` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/um` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/uy` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/uig` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/uim` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/uigm` correctly
>     undefined rewrites `/\uD834\uDF06{2,4}/uigmy` correctly
>     1) rewrites `/(a)\1/u` correctly
>     2) rewrites `/(a)\1/ug` correctly
>     3) rewrites `/(a)\1/um` correctly
>     4) rewrites `/(a)\1/uy` correctly
>     5) rewrites `/(a)\1/ugm` correctly
>     6) rewrites `/(a)\1/ugmy` correctly
>     undefined rewrites `/[]/u` correctly
>     undefined rewrites `/[]/ui` correctly
>     undefined rewrites `/[]/ug` correctly
>     undefined rewrites `/[]/um` correctly
>     undefined rewrites `/[]/uy` correctly
>     undefined rewrites `/[]/uig` correctly
>     undefined rewrites `/[]/uim` correctly
>     undefined rewrites `/[]/uigm` correctly
>     undefined rewrites `/[]/uigmy` correctly
>     undefined rewrites `/[]/` correctly
>     undefined rewrites `/[]/i` correctly
>     undefined rewrites `/[]/g` correctly
>     undefined rewrites `/[]/m` correctly
>     undefined rewrites `/[]/y` correctly
>     undefined rewrites `/[]/ig` correctly
>     undefined rewrites `/[]/im` correctly
>     undefined rewrites `/[]/igm` correctly
>     undefined rewrites `/[]/igmy` correctly
>     7) rewrites `/(\1)+\1\1/u` correctly
>     8) rewrites `/(\1)+\1\1/ui` correctly
>     9) rewrites `/(\1)+\1\1/ug` correctly
>     10) rewrites `/(\1)+\1\1/um` correctly
>     11) rewrites `/(\1)+\1\1/uy` correctly
>     12) rewrites `/(\1)+\1\1/uig` correctly
>     13) rewrites `/(\1)+\1\1/uim` correctly
>     14) rewrites `/(\1)+\1\1/uigm` correctly
>     15) rewrites `/(\1)+\1\1/uigmy` correctly
>     undefined rewrites `/(\1)+\1\1/` correctly
>     undefined rewrites `/(\1)+\1\1/i` correctly
>     undefined rewrites `/(\1)+\1\1/g` correctly
>     undefined rewrites `/(\1)+\1\1/m` correctly
>     undefined rewrites `/(\1)+\1\1/y` correctly
>     undefined rewrites `/(\1)+\1\1/ig` correctly
>     undefined rewrites `/(\1)+\1\1/im` correctly
>     undefined rewrites `/(\1)+\1\1/igm` correctly
>     undefined rewrites `/(\1)+\1\1/igmy` correctly
>     undefined rewrites `/\u03B8/ui` correctly
>     undefined rewrites `/\u03B8/uig` correctly
>     undefined rewrites `/\u03B8/uim` correctly
>     undefined rewrites `/\u03B8/uigm` correctly
>     undefined rewrites `/\u03B8/uigmy` correctly
>     undefined rewrites `/\//` correctly
>     undefined rewrites `/\//i` correctly
>     undefined rewrites `/\//g` correctly
>     undefined rewrites `/\//m` correctly
>     undefined rewrites `/\//y` correctly
>     undefined rewrites `/\//ig` correctly
>     undefined rewrites `/\//im` correctly
>     undefined rewrites `/\//igm` correctly
>     undefined rewrites `/\//igmy` correctly
>     undefined rewrites `/\//u` correctly
>     undefined rewrites `/\//ui` correctly
>     undefined rewrites `/\//ug` correctly
>     undefined rewrites `/\//um` correctly
>     undefined rewrites `/\//uy` correctly
>     undefined rewrites `/\//uig` correctly
>     undefined rewrites `/\//uim` correctly
>     undefined rewrites `/\//uigm` correctly
>     undefined rewrites `/\//uigmy` correctly
> 
>   unicodePropertyEscapes
>     undefined rewrites `/\p{gc=Lu}/u` correctly
>     undefined rewrites `/\P{gc=Lu}/u` correctly
>     undefined rewrites `/\p{gc=Uppercase_Letter}/u` correctly
>     undefined rewrites `/\P{gc=Uppercase_Letter}/u` correctly
>     undefined rewrites `/\p{General_Category=Lu}/u` correctly
>     undefined rewrites `/\P{General_Category=Lu}/u` correctly
>     undefined rewrites `/\p{General_Category=Uppercase_Letter}/u` correctly
>     undefined rewrites `/\P{General_Category=Uppercase_Letter}/u` correctly
>     undefined rewrites `/\p{Lu}/u` correctly
>     undefined rewrites `/\P{Lu}/u` correctly
>     undefined rewrites `/\p{Uppercase_Letter}/u` correctly
>     undefined rewrites `/\P{Uppercase_Letter}/u` correctly
>     undefined rewrites `/\p{sc=Grek}/u` correctly
>     undefined rewrites `/\P{sc=Grek}/u` correctly
>     undefined rewrites `/\p{sc=Greek}/u` correctly
>     undefined rewrites `/\P{sc=Greek}/u` correctly
>     undefined rewrites `/\p{Script=Grek}/u` correctly
>     undefined rewrites `/\P{Script=Grek}/u` correctly
>     undefined rewrites `/\p{Script=Greek}/u` correctly
>     undefined rewrites `/\P{Script=Greek}/u` correctly
>     undefined rewrites `/\p{sc=Hira}/u` correctly
>     undefined rewrites `/\P{sc=Hira}/u` correctly
>     undefined rewrites `/\p{sc=Hiragana}/u` correctly
>     undefined rewrites `/\P{sc=Hiragana}/u` correctly
>     undefined rewrites `/\p{Script=Hira}/u` correctly
>     undefined rewrites `/\P{Script=Hira}/u` correctly
>     undefined rewrites `/\p{Script=Hiragana}/u` correctly
>     undefined rewrites `/\P{Script=Hiragana}/u` correctly
>     undefined rewrites `/\p{scx=Grek}/u` correctly
>     undefined rewrites `/\P{scx=Grek}/u` correctly
>     undefined rewrites `/\p{scx=Greek}/u` correctly
>     undefined rewrites `/\P{scx=Greek}/u` correctly
>     undefined rewrites `/\p{Script_Extensions=Grek}/u` correctly
>     undefined rewrites `/\P{Script_Extensions=Grek}/u` correctly
>     undefined rewrites `/\p{Script_Extensions=Greek}/u` correctly
>     undefined rewrites `/\P{Script_Extensions=Greek}/u` correctly
>     undefined rewrites `/\p{Alpha}/u` correctly
>     undefined rewrites `/\P{Alpha}/u` correctly
>     undefined rewrites `/\p{Alphabetic}/u` correctly
>     undefined rewrites `/\P{Alphabetic}/u` correctly
>     undefined rewrites `/\p{Upper}/u` correctly
>     undefined rewrites `/\P{Upper}/u` correctly
>     undefined rewrites `/\p{Uppercase}/u` correctly
>     undefined rewrites `/\P{Uppercase}/u` correctly
>     undefined rewrites `/\p{Lower}/u` correctly
>     undefined rewrites `/\P{Lower}/u` correctly
>     undefined rewrites `/\p{Lowercase}/u` correctly
>     undefined rewrites `/\P{Lowercase}/u` correctly
>     undefined rewrites `/\p{WSpace}/u` correctly
>     undefined rewrites `/\P{WSpace}/u` correctly
>     undefined rewrites `/\p{White_Space}/u` correctly
>     undefined rewrites `/\P{White_Space}/u` correctly
>     undefined rewrites `/\p{NChar}/u` correctly
>     undefined rewrites `/\P{NChar}/u` correctly
>     undefined rewrites `/\p{Noncharacter_Code_Point}/u` correctly
>     undefined rewrites `/\P{Noncharacter_Code_Point}/u` correctly
>     undefined rewrites `/\p{DI}/u` correctly
>     undefined rewrites `/\P{DI}/u` correctly
>     undefined rewrites `/\p{Default_Ignorable_Code_Point}/u` correctly
>     undefined rewrites `/\P{Default_Ignorable_Code_Point}/u` correctly
>     undefined rewrites `/\p{Any}/u` correctly
>     undefined rewrites `/\P{Any}/u` correctly
>     undefined rewrites `/\p{ASCII}/u` correctly
>     undefined rewrites `/\P{ASCII}/u` correctly
>     undefined rewrites `/\p{Assigned}/u` correctly
>     undefined rewrites `/\P{Assigned}/u` correctly
>     undefined rewrites `/\p{ASCII_Hex_Digit}/u` correctly
>     undefined rewrites `/\P{ASCII_Hex_Digit}/u` correctly
>     undefined rewrites `/\p{AHex}/u` correctly
>     undefined rewrites `/\P{AHex}/u` correctly
>     undefined rewrites `/\p{Bidi_C}/u` correctly
>     undefined rewrites `/\P{Bidi_C}/u` correctly
>     undefined rewrites `/\p{Bidi_Control}/u` correctly
>     undefined rewrites `/\P{Bidi_Control}/u` correctly
>     undefined rewrites `/\p{Bidi_M}/u` correctly
>     undefined rewrites `/\P{Bidi_M}/u` correctly
>     undefined rewrites `/\p{Bidi_Mirrored}/u` correctly
>     undefined rewrites `/\P{Bidi_Mirrored}/u` correctly
>     undefined rewrites `/\p{CI}/u` correctly
>     undefined rewrites `/\P{CI}/u` correctly
>     undefined rewrites `/\p{Case_Ignorable}/u` correctly
>     undefined rewrites `/\P{Case_Ignorable}/u` correctly
>     undefined rewrites `/\p{Cased}/u` correctly
>     undefined rewrites `/\P{Cased}/u` correctly
>     undefined rewrites `/\p{CWKCF}/u` correctly
>     undefined rewrites `/\P{CWKCF}/u` correctly
>     undefined rewrites `/\p{Changes_When_NFKC_Casefolded}/u` correctly
>     undefined rewrites `/\P{Changes_When_NFKC_Casefolded}/u` correctly
>     undefined rewrites `/\p{CWCF}/u` correctly
>     undefined rewrites `/\P{CWCF}/u` correctly
>     undefined rewrites `/\p{Changes_When_Casefolded}/u` correctly
>     undefined rewrites `/\P{Changes_When_Casefolded}/u` correctly
>     undefined rewrites `/\p{CWCM}/u` correctly
>     undefined rewrites `/\P{CWCM}/u` correctly
>     undefined rewrites `/\p{Changes_When_Casemapped}/u` correctly
>     undefined rewrites `/\P{Changes_When_Casemapped}/u` correctly
>     undefined rewrites `/\p{CWL}/u` correctly
>     undefined rewrites `/\P{CWL}/u` correctly
>     undefined rewrites `/\p{Changes_When_Lowercased}/u` correctly
>     undefined rewrites `/\P{Changes_When_Lowercased}/u` correctly
>     undefined rewrites `/\p{CWT}/u` correctly
>     undefined rewrites `/\P{CWT}/u` correctly
>     undefined rewrites `/\p{Changes_When_Titlecased}/u` correctly
>     undefined rewrites `/\P{Changes_When_Titlecased}/u` correctly
>     undefined rewrites `/\p{CWU}/u` correctly
>     undefined rewrites `/\P{CWU}/u` correctly
>     undefined rewrites `/\p{Changes_When_Uppercased}/u` correctly
>     undefined rewrites `/\P{Changes_When_Uppercased}/u` correctly
>     undefined rewrites `/\p{Dash}/u` correctly
>     undefined rewrites `/\P{Dash}/u` correctly
>     undefined rewrites `/\p{Dep}/u` correctly
>     undefined rewrites `/\P{Dep}/u` correctly
>     undefined rewrites `/\p{Deprecated}/u` correctly
>     undefined rewrites `/\P{Deprecated}/u` correctly
>     undefined rewrites `/\p{Dia}/u` correctly
>     undefined rewrites `/\P{Dia}/u` correctly
>     undefined rewrites `/\p{Diacritic}/u` correctly
>     undefined rewrites `/\P{Diacritic}/u` correctly
>     undefined rewrites `/\p{Ext}/u` correctly
>     undefined rewrites `/\P{Ext}/u` correctly
>     undefined rewrites `/\p{Extender}/u` correctly
>     undefined rewrites `/\P{Extender}/u` correctly
>     undefined rewrites `/\p{Gr_Base}/u` correctly
>     undefined rewrites `/\P{Gr_Base}/u` correctly
>     undefined rewrites `/\p{Grapheme_Base}/u` correctly
>     undefined rewrites `/\P{Grapheme_Base}/u` correctly
>     undefined rewrites `/\p{Gr_Ext}/u` correctly
>     undefined rewrites `/\P{Gr_Ext}/u` correctly
>     undefined rewrites `/\p{Grapheme_Extend}/u` correctly
>     undefined rewrites `/\P{Grapheme_Extend}/u` correctly
>     undefined rewrites `/\p{Hex}/u` correctly
>     undefined rewrites `/\P{Hex}/u` correctly
>     undefined rewrites `/\p{Hex_Digit}/u` correctly
>     undefined rewrites `/\P{Hex_Digit}/u` correctly
>     undefined rewrites `/\p{IDC}/u` correctly
>     undefined rewrites `/\P{IDC}/u` correctly
>     undefined rewrites `/\p{ID_Continue}/u` correctly
>     undefined rewrites `/\P{ID_Continue}/u` correctly
>     undefined rewrites `/\p{IDS}/u` correctly
>     undefined rewrites `/\P{IDS}/u` correctly
>     undefined rewrites `/\p{ID_Start}/u` correctly
>     undefined rewrites `/\P{ID_Start}/u` correctly
>     undefined rewrites `/\p{Ideo}/u` correctly
>     undefined rewrites `/\P{Ideo}/u` correctly
>     undefined rewrites `/\p{Ideographic}/u` correctly
>     undefined rewrites `/\P{Ideographic}/u` correctly
>     undefined rewrites `/\p{IDSB}/u` correctly
>     undefined rewrites `/\P{IDSB}/u` correctly
>     undefined rewrites `/\p{IDS_Binary_Operator}/u` correctly
>     undefined rewrites `/\P{IDS_Binary_Operator}/u` correctly
>     undefined rewrites `/\p{IDST}/u` correctly
>     undefined rewrites `/\P{IDST}/u` correctly
>     undefined rewrites `/\p{IDS_Trinary_Operator}/u` correctly
>     undefined rewrites `/\P{IDS_Trinary_Operator}/u` correctly
>     undefined rewrites `/\p{Join_C}/u` correctly
>     undefined rewrites `/\P{Join_C}/u` correctly
>     undefined rewrites `/\p{Join_Control}/u` correctly
>     undefined rewrites `/\P{Join_Control}/u` correctly
>     undefined rewrites `/\p{LOE}/u` correctly
>     undefined rewrites `/\P{LOE}/u` correctly
>     undefined rewrites `/\p{Logical_Order_Exception}/u` correctly
>     undefined rewrites `/\P{Logical_Order_Exception}/u` correctly
>     undefined rewrites `/\p{Math}/u` correctly
>     undefined rewrites `/\P{Math}/u` correctly
>     undefined rewrites `/\p{Pat_Syn}/u` correctly
>     undefined rewrites `/\P{Pat_Syn}/u` correctly
>     undefined rewrites `/\p{Pattern_Syntax}/u` correctly
>     undefined rewrites `/\P{Pattern_Syntax}/u` correctly
>     undefined rewrites `/\p{Pat_WS}/u` correctly
>     undefined rewrites `/\P{Pat_WS}/u` correctly
>     undefined rewrites `/\p{Pattern_White_Space}/u` correctly
>     undefined rewrites `/\P{Pattern_White_Space}/u` correctly
>     undefined rewrites `/\p{QMark}/u` correctly
>     undefined rewrites `/\P{QMark}/u` correctly
>     undefined rewrites `/\p{Quotation_Mark}/u` correctly
>     undefined rewrites `/\P{Quotation_Mark}/u` correctly
>     undefined rewrites `/\p{Radical}/u` correctly
>     undefined rewrites `/\P{Radical}/u` correctly
>     undefined rewrites `/\p{RI}/u` correctly
>     undefined rewrites `/\P{RI}/u` correctly
>     undefined rewrites `/\p{Regional_Indicator}/u` correctly
>     undefined rewrites `/\P{Regional_Indicator}/u` correctly
>     undefined rewrites `/\p{SD}/u` correctly
>     undefined rewrites `/\P{SD}/u` correctly
>     undefined rewrites `/\p{Soft_Dotted}/u` correctly
>     undefined rewrites `/\P{Soft_Dotted}/u` correctly
>     undefined rewrites `/\p{STerm}/u` correctly
>     undefined rewrites `/\P{STerm}/u` correctly
>     undefined rewrites `/\p{Sentence_Terminal}/u` correctly
>     undefined rewrites `/\P{Sentence_Terminal}/u` correctly
>     undefined rewrites `/\p{Term}/u` correctly
>     undefined rewrites `/\P{Term}/u` correctly
>     undefined rewrites `/\p{Terminal_Punctuation}/u` correctly
>     undefined rewrites `/\P{Terminal_Punctuation}/u` correctly
>     undefined rewrites `/\p{UIdeo}/u` correctly
>     undefined rewrites `/\P{UIdeo}/u` correctly
>     undefined rewrites `/\p{Unified_Ideograph}/u` correctly
>     undefined rewrites `/\P{Unified_Ideograph}/u` correctly
>     undefined rewrites `/\p{VS}/u` correctly
>     undefined rewrites `/\P{VS}/u` correctly
>     undefined rewrites `/\p{Variation_Selector}/u` correctly
>     undefined rewrites `/\P{Variation_Selector}/u` correctly
>     undefined rewrites `/\p{XIDC}/u` correctly
>     undefined rewrites `/\P{XIDC}/u` correctly
>     undefined rewrites `/\p{XID_Continue}/u` correctly
>     undefined rewrites `/\P{XID_Continue}/u` correctly
>     undefined rewrites `/\p{XIDS}/u` correctly
>     undefined rewrites `/\P{XIDS}/u` correctly
>     undefined rewrites `/\p{XID_Start}/u` correctly
>     undefined rewrites `/\P{XID_Start}/u` correctly
>     undefined rewrites `/\p{Emoji}/u` correctly
>     undefined rewrites `/\P{Emoji}/u` correctly
>     undefined rewrites `/\p{Emoji_Component}/u` correctly
>     undefined rewrites `/\P{Emoji_Component}/u` correctly
>     undefined rewrites `/\p{Emoji_Modifier}/u` correctly
>     undefined rewrites `/\P{Emoji_Modifier}/u` correctly
>     undefined rewrites `/\p{Emoji_Modifier_Base}/u` correctly
>     undefined rewrites `/\P{Emoji_Modifier_Base}/u` correctly
>     undefined rewrites `/\p{Emoji_Presentation}/u` correctly
>     undefined rewrites `/\P{Emoji_Presentation}/u` correctly
>     undefined rewrites `/\p{Extended_Pictographic}/u` correctly
>     undefined rewrites `/\P{Extended_Pictographic}/u` correctly
>     undefined rewrites `/\p{scx=Yezi}/u` correctly
>     undefined rewrites `/\P{scx=Yezi}/u` correctly
>     undefined rewrites `/\p{scx=Yezidi}/u` correctly
>     undefined rewrites `/\P{scx=Yezidi}/u` correctly
>     undefined rewrites `/\p{Script_Extensions=Yezi}/u` correctly
>     undefined rewrites `/\P{Script_Extensions=Yezi}/u` correctly
>     undefined rewrites `/\p{Script_Extensions=Yezidi}/u` correctly
>     undefined rewrites `/\P{Script_Extensions=Yezidi}/u` correctly
>     undefined rewrites `/\p{scx=Toto}/u` correctly
>     undefined rewrites `/\P{scx=Toto}/u` correctly
>     undefined rewrites `/\p{Script_Extensions=Toto}/u` correctly
>     undefined rewrites `/\P{Script_Extensions=Toto}/u` correctly
>     undefined transpiles Unicode property escapes within various constructions
>     undefined throws on unknown binary properties
>     undefined throws on explicitly unsupported properties
>     undefined throws on non-binary properties without a value
>     undefined throws on unknown property values
>     undefined throws when loose matching is attempted
>     undefined simplifies the output using Unicode code point escapes when `useUnicodeFlag` is enabled
>     undefined should not transpile unicode property when unicodePropertyEscape is not enabled
>     undefined should transpile to minimal case-insensitive set
> 
>   dotAllFlag
>     undefined rewrites `/./s` correctly
>     undefined rewrites `/./gimsy` correctly
>     undefined rewrites `/./su` correctly
>     undefined rewrites `/./gimsuy` correctly
> 
>   useDotAllFlag
>     undefined rewrites `/./su` correctly
>     undefined should throw when both `useDotAllFlag` and `dotAll` is true
> 
>   namedGroup
>     undefined rewrites `/(?<name>)\k<name>/` correctly
>     undefined rewrites `/(?<name1>)(?<name2>)\k<name1>\k<name2>/` correctly
>     undefined rewrites `/()(?<name>)\k<name>/` correctly
>     undefined rewrites `/(?<name>)()\1/` correctly
>     undefined rewrites `/\k<name>\k<name>(?<name>)\k<name>/` correctly
>     undefined rewrites `/(?<name>\k<name>)/` correctly
>     undefined rewrites `/(?<$𐒤>a)b\k<$𐒤>/` correctly
>     undefined rewrites `/(?<=a)(?<!b)(?=c)(?!d)(?:e)(?<name>f)\k<name>/` correctly
>     undefined onNamedGroup is optional
>     undefined multiple groups with the same name are disallowed
>     undefined named references must reference a group
>     undefined should not transpile when namedGroup is not enabled
> 
>   lookbehind
>     undefined rewrites `/(?<=a)b/` correctly
>     undefined rewrites `/(?<=.)a/` correctly
> 
>   character classes
>     undefined rewrites `/[^K]/iu` without unicode correctly
>     undefined rewrites `/[^k]/iu` without unicode correctly
>     undefined rewrites `/[^K]/iu` without unicode correctly
>     undefined rewrites `/[^K]/iu` with unicode correctly
>     undefined rewrites `/[^k]/iu` with unicode correctly
>     undefined rewrites `/[^K]/iu` with unicode correctly
>     undefined rewrites `/[^K]/u` without unicode correctly
>     undefined rewrites `/[^k]/u` without unicode correctly
>     undefined rewrites `/[^K]/u` without unicode correctly
>     undefined rewrites `/[^K]/u` with unicode correctly
>     undefined rewrites `/[^k]/u` with unicode correctly
>     undefined rewrites `/[^K]/u` with unicode correctly
> 
> 
>   707 passing (457ms)
>   15 failing
> 
>   1) rewritePattern
>        rewrites `/(a)\1/u` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 4
>     (a)\1
>         ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   2) rewritePattern
>        rewrites `/(a)\1/ug` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 4
>     (a)\1
>         ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   3) rewritePattern
>        rewrites `/(a)\1/um` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 4
>     (a)\1
>         ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   4) rewritePattern
>        rewrites `/(a)\1/uy` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 4
>     (a)\1
>         ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   5) rewritePattern
>        rewrites `/(a)\1/ugm` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 4
>     (a)\1
>         ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   6) rewritePattern
>        rewrites `/(a)\1/ugmy` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 4
>     (a)\1
>         ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   7) rewritePattern
>        rewrites `/(\1)+\1\1/u` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 2
>     (\1)+\1\1
>       ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at finishGroup (/usr/share/nodejs/regjsparser/parser.js:608:18)
>       at parseGroup (/usr/share/nodejs/regjsparser/parser.js:604:14)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:769:16)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   8) rewritePattern
>        rewrites `/(\1)+\1\1/ui` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 2
>     (\1)+\1\1
>       ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at finishGroup (/usr/share/nodejs/regjsparser/parser.js:608:18)
>       at parseGroup (/usr/share/nodejs/regjsparser/parser.js:604:14)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:769:16)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   9) rewritePattern
>        rewrites `/(\1)+\1\1/ug` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 2
>     (\1)+\1\1
>       ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at finishGroup (/usr/share/nodejs/regjsparser/parser.js:608:18)
>       at parseGroup (/usr/share/nodejs/regjsparser/parser.js:604:14)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:769:16)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   10) rewritePattern
>        rewrites `/(\1)+\1\1/um` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 2
>     (\1)+\1\1
>       ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at finishGroup (/usr/share/nodejs/regjsparser/parser.js:608:18)
>       at parseGroup (/usr/share/nodejs/regjsparser/parser.js:604:14)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:769:16)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   11) rewritePattern
>        rewrites `/(\1)+\1\1/uy` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 2
>     (\1)+\1\1
>       ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at finishGroup (/usr/share/nodejs/regjsparser/parser.js:608:18)
>       at parseGroup (/usr/share/nodejs/regjsparser/parser.js:604:14)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:769:16)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   12) rewritePattern
>        rewrites `/(\1)+\1\1/uig` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 2
>     (\1)+\1\1
>       ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at finishGroup (/usr/share/nodejs/regjsparser/parser.js:608:18)
>       at parseGroup (/usr/share/nodejs/regjsparser/parser.js:604:14)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:769:16)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   13) rewritePattern
>        rewrites `/(\1)+\1\1/uim` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 2
>     (\1)+\1\1
>       ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at finishGroup (/usr/share/nodejs/regjsparser/parser.js:608:18)
>       at parseGroup (/usr/share/nodejs/regjsparser/parser.js:604:14)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:769:16)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   14) rewritePattern
>        rewrites `/(\1)+\1\1/uigm` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 2
>     (\1)+\1\1
>       ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at finishGroup (/usr/share/nodejs/regjsparser/parser.js:608:18)
>       at parseGroup (/usr/share/nodejs/regjsparser/parser.js:604:14)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:769:16)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   15) rewritePattern
>        rewrites `/(\1)+\1\1/uigmy` correctly:
>      SyntaxError: Invalid decimal escape in unicode mode at position 2
>     (\1)+\1\1
>       ^
>       at bail (/usr/share/nodejs/regjsparser/parser.js:1497:13)
>       at parseDecimalEscape (/usr/share/nodejs/regjsparser/parser.js:857:13)
>       at parseAtomEscape (/usr/share/nodejs/regjsparser/parser.js:812:13)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:742:15)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at finishGroup (/usr/share/nodejs/regjsparser/parser.js:608:18)
>       at parseGroup (/usr/share/nodejs/regjsparser/parser.js:604:14)
>       at parseAtomAndExtendedAtom (/usr/share/nodejs/regjsparser/parser.js:769:16)
>       at parseTerm (/usr/share/nodejs/regjsparser/parser.js:563:18)
>       at parseAlternative (/usr/share/nodejs/regjsparser/parser.js:536:21)
>       at parseDisjunction (/usr/share/nodejs/regjsparser/parser.js:516:16)
>       at parse (/usr/share/nodejs/regjsparser/parser.js:1521:18)
>       at rewritePattern (rewrite-pattern.js:339:15)
>       at Context.<anonymous> (tests/tests.js:18:18)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:681:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:804:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:596:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:606:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:489:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:574:5)
>       at processImmediate (internal/timers.js:461:21)
> 
> 
> 
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 15


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/node-regexpu-core_4.8.0-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list