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

Invalid regular expression #14

Closed
knubie opened this issue Nov 12, 2018 · 1 comment
Closed

Invalid regular expression #14

knubie opened this issue Nov 12, 2018 · 1 comment

Comments

@knubie
Copy link

knubie commented Nov 12, 2018

I ran into this seemingly obscure exception when trying to set up ghostwheel.

Uncaught SyntaxError: Invalid regular expression: /[\s    - 

 â�Ÿã€€]+/: Range out of order in character class

It turned out that my html document was missing a <meta charset="utf-8"> in the <head> tag.

I'm just posting this for posterity in case anyone stumbles onto the same issue.

@knubie knubie closed this as completed Nov 12, 2018
@gnl
Copy link
Owner

gnl commented Nov 21, 2018

That's interesting, if you have the time – could you provide a simple repro code/repo? No worries if not. :)

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