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

Escaping java operators in variable names #37

Closed
criocere opened this issue Jan 6, 2020 · 1 comment
Closed

Escaping java operators in variable names #37

criocere opened this issue Jan 6, 2020 · 1 comment

Comments

@criocere
Copy link

criocere commented Jan 6, 2020

How can I escape java operators as ^, -, etc in a variable name?
Same question for the dot

Example
{{myVar-v1.1}}

@criocere
Copy link
Author

criocere commented Jan 9, 2020

Can I suggest this?
If "^,+,-,*" have no blanks around before and after, they are part of a variable name else they are operators.
Maybe it is simpler and better than escaping?

An example
{{aa - bb}} it is an operator
{{aa-bb}} it is a variable

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