Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regex detection #134

Open
birdspider opened this issue Jun 6, 2023 · 0 comments
Open

regex detection #134

birdspider opened this issue Jun 6, 2023 · 0 comments

Comments

@birdspider
Copy link
Contributor

js-source

var a = 3
  / 4;

results in

Uncaught RuntimeException: Unclosed regex pattern at position: 
Stack trace:
#0 jshrink.php(298): JShrink\Minifier->saveRegex()
#1 jshrink.php(162): JShrink\Minifier->loop()
#2 jshrink.php(137): JShrink\Minifier->minifyToString(' var x = 3 \n / ...', Array)
#3 JShrink\Minifier::minify(' var x = 3 \n / ...', Array)

#124 does not help in this case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant