html-minifier-terser
html-minifier-terser copied to clipboard
[Bug]: Error Minimizing JSON File
What happened?
I tried to minimize this JSON file:
{
"match": "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(catch|finally|throw|try)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
}
The error I received: Error: Parse Error: <![$[:alnum:]])(?:(?<=\.\.\.)|(?<!\.))(catch|finally|throw|try)(?![$[:alnum:]])(?:(?=\.\.\.)|(?!\.))" }
You can go to https://terser.org/html-minifier-terser/ and paste the JSON content and examine it.
Version
latest
What browsers are you seeing the problem on?
Chrome
Link to reproduce
No response
Relevant log output
No response
Willing to submit a PR?
None