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

Uncaught SyntaxError: Invalid regular expression: missing / #15

Open
pboguslawski opened this issue Nov 9, 2023 · 1 comment
Open

Comments

@pboguslawski
Copy link

Mediawiiki 1.35.13 from Debian 11 with this extension v2.2 (bundled highlight.min.js) throws JS error on browser console

Uncaught SyntaxError: Invalid regular expression: missing /

Maybe this is still not resolved?

@Nicolas01
Copy link
Owner

The error message of the issue you mention is a bit different from yours:
Uncaught SyntaxError: unterminated regular expression literal
This issue seems solved in MW 1.39.x.
For MW1.35.x you can try to apply the workaround, but I am not sure it's the same issue.

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

2 participants