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

Malformed regex #596

Closed
JakobJingleheimer opened this issue Aug 13, 2013 · 1 comment
Closed

Malformed regex #596

JakobJingleheimer opened this issue Aug 13, 2013 · 1 comment
Milestone

Comments

@JakobJingleheimer
Copy link

The lexer.rules definition in handlebars.js has malformed syntax at 645:310: /^(?:\.(?=[}/ ]))/

The / following the } signifies that the regex has ended, when in fact it is supposed to continue. I don't think the forward slash was supposed to be a back-slash as a whitespace character does not need to be escaped, so it seems to be just a typo/stray character.

Additionally, handlebars.js#651 is missing a terminal semicolon.

@kpdecker
Copy link
Collaborator

I believe this has been fixed with the rework of the lexer content.

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

No branches or pull requests

2 participants