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

Improve the identifier detection regex to support non-ascii identifiers #291

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

metoule
Copy link
Contributor

@metoule metoule commented Jul 4, 2023

It also support identifiers that start with @.
This should follow more closely with the C# specs section 6.4.3.

Note that I removed the \b in the Regex in favor of checking for member access in the code, because the @ is not part of \w and therefore that didn't work.

Fixes #269

…rs (and also support identifiers that start with @)

Fixes dynamicexpresso#269
@metoule metoule requested a review from davideicardi as a code owner July 4, 2023 18:34
Copy link
Member

@davideicardi davideicardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🚀

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.

Interpreter.DetectIdentifiers can not find non-ascii identifier in expression
2 participants