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

Make RegexpNode aware of fixed-encoding regopt #230

Conversation

koic
Copy link
Member

@koic koic commented Apr 20, 2022

Resolves rubocop/rubocop#10552.

This PR makes RegexpNode aware of fixed-encoding regopt.

@koic
Copy link
Member Author

koic commented Apr 21, 2022

@marcandre Can you review this PR?

@koic
Copy link
Member Author

koic commented May 24, 2022

@marcandre ping :-)

Copy link
Member

@dvandersluis dvandersluis left a comment

Choose a reason for hiding this comment

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

LGTM, just one minor typo.

Resolves rubocop/rubocop#10552.

This PR makes `RegexpNode` aware of fixed-encoding regopt.
@koic koic force-pushed the fix_regexp_node_aware_of_fixed_encoding_regopt branch from 32030c9 to 6c9cd77 Compare August 5, 2022 16:42
@marcandre marcandre merged commit ce40f21 into rubocop:master Aug 7, 2022
@marcandre
Copy link
Contributor

Sorry I missed the notifications @koic
Release 1.20.0

@koic koic deleted the fix_regexp_node_aware_of_fixed_encoding_regopt branch August 7, 2022 23:20
koic added a commit to rubocop/rubocop that referenced this pull request Aug 8, 2022
Follow up rubocop/rubocop-ast#230 and fixes #10552.

This commit fixes a false positive for `Lint/OutOfRangeRegexpRef` when using
fixed-encoding regopt.
WJWH pushed a commit to WJWH/rubocop that referenced this pull request Aug 8, 2022
Follow up rubocop/rubocop-ast#230 and fixes rubocop#10552.

This commit fixes a false positive for `Lint/OutOfRangeRegexpRef` when using
fixed-encoding regopt.
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.

Regexp in UTF-8 causes issues in Lint/OutOfRangeRegexRef
3 participants