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

parser_regexp: Check named capture. ref #2330 #2331

Merged
merged 2 commits into from
Mar 15, 2019

Conversation

repeatedly
Copy link
Member

Signed-off-by: Masahiro Nakagawa repeatedly@gmail.com

Which issue(s) this PR fixes:
Avoid unexpected behaviour like #2330

What this PR does / why we need it:
multiline parser does named capture check so regexp parser should also check.

Docs Changes:
No need

Release Note:
regexp parser raises configuration error when no named capture in expression.

Signed-off-by: Masahiro Nakagawa <repeatedly@gmail.com>
@repeatedly repeatedly self-assigned this Mar 15, 2019
@repeatedly repeatedly requested a review from okkez March 15, 2019 00:19
Copy link
Contributor

@okkez okkez left a comment

Choose a reason for hiding this comment

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

Looks nice!
But some tests are failed, please check CI errors.

Signed-off-by: Masahiro Nakagawa <repeatedly@gmail.com>
@repeatedly
Copy link
Member Author

Ah, existence tests are broken ;p
Just fixed. After passed CI, I will merge the patch.

@repeatedly repeatedly merged commit d18f9b7 into master Mar 15, 2019
@ganmacs ganmacs deleted the check-parser_regexp-named-capture branch July 11, 2019 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants