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 error that occurs when parsing expression containing '+' character #92

Closed
carrieedwards opened this issue Sep 1, 2022 · 0 comments · Fixed by #93
Closed

Fix error that occurs when parsing expression containing '+' character #92

carrieedwards opened this issue Sep 1, 2022 · 0 comments · Fixed by #93
Labels
bug Something isn't working

Comments

@carrieedwards
Copy link
Collaborator

carrieedwards commented Sep 1, 2022

We are seeing errors occurring when an expression that contains regexp with the '+' character. For example:

alias(testMetric[0-9]+.Metric, 'name')

The error that is being thrown is unexpected character.

The Graphite docs on wildcard expressions do not explicitly mention the '+' character as unsupported, it does not throw an error and seems to process it. This character should be supported in the parser in to prevent throwing the error.

@carrieedwards carrieedwards added the bug Something isn't working label Sep 1, 2022
@carrieedwards carrieedwards linked a pull request Sep 1, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant