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

Fix variable name starting with operator #541

Merged

Conversation

pwolaq
Copy link
Contributor

@pwolaq pwolaq commented Oct 15, 2020

Resolves #518

Regex checking if operator is part of variable name looks only for letters whereas variable name can also have digits and underscore.

Example of valid variable names that were failing:

  • is_active
  • is0

@ebussieres ebussieres added this to the 3.1.5 milestone Nov 17, 2020
@ebussieres ebussieres merged commit 8520b2f into PebbleTemplates:master Nov 17, 2020
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

Successfully merging this pull request may close these issues.

Printing variables starting with is or contains causes unexpected token OPERATOR
2 participants