Test for more invalid regexp patterns using Unicode-aware mode. RegExp in JavaScript apparently doesn't check for many invalid syntax cases, but this u mode does.
$ npm test
SyntaxError: Invalid regular expression: /\libmecab\b/u: Invalid escape
at new RegExp (<anonymous>)
Test for more invalid regexp patterns using Unicode-aware mode.
RegExp
in JavaScript apparently doesn't check for many invalid syntax cases, but thisu
mode does.Fix another escape issue with poppler.