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 unicode regexen with bytes::Regex #6132

Merged
merged 1 commit into from
Oct 8, 2020
Merged

Fix unicode regexen with bytes::Regex #6132

merged 1 commit into from
Oct 8, 2020

Conversation

llogiq
Copy link
Contributor

@llogiq llogiq commented Oct 7, 2020

fixes #6005

The rationale for this is that since we wrote that lint, bytes::Regex was extended to be able to use unicode character classes.


changelog: [invalid_regex]: allow unicode character classes in bytes regex.

@rust-highfive
Copy link

r? @ebroto

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Oct 7, 2020
@ebroto
Copy link
Member

ebroto commented Oct 8, 2020

@bors r+

Thanks!

@bors
Copy link
Collaborator

bors commented Oct 8, 2020

📌 Commit 1167257 has been approved by ebroto

@bors
Copy link
Collaborator

bors commented Oct 8, 2020

⌛ Testing commit 1167257 with merge 171ab9b...

@bors
Copy link
Collaborator

bors commented Oct 8, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: ebroto
Pushing 171ab9b to master...

@bors bors merged commit 171ab9b into master Oct 8, 2020
@ebroto ebroto deleted the regex-unicode branch October 8, 2020 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positive in invalid_regex with unicode class and bytes regex
4 participants