8000 fix: change unnecessary capture groups to non capturing by TimDiam0nd · Pull Request #3833 · coreruleset/coreruleset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: change unnecessary capture groups to non capturing #3833

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

Closed
wants to merge 0 commits into from

Conversation

TimDiam0nd
Copy link
Contributor
@TimDiam0nd TimDiam0nd commented Sep 26, 2024

For rule id 955110 the current regex is: (<title>r57 Shell Version [0-9.]+</title>|<title>r57 shell</title>), but is not used.

For rule id 934120 the ra contains a capture group added by @theseion , though it likewise does not appear to be used.

@TimDiam0nd TimDiam0nd changed the title fix: make 955110 capturing group non capturing fix: change unnecessary capture groups to non capturing Sep 26, 2024
@fzipi fzipi requested a review from theseion October 7, 2024 13:26
@fzipi
Copy link
Member
fzipi commented Oct 7, 2024

@TimDiam0nd Can you run crs-toolchain to update all the involved regexes?

@theseion
Copy link
Contributor
theseion commented Oct 8, 2024

@TimDiam0nd did you close this PR on purpose?

9164

@TimDiam0nd
Copy link
Contributor Author

@TimDiam0nd did you close this PR on purpose?

Yep, had some issues which i thought were due to me messing my branch up, hence force pushing. I did open a new pr #3849

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.

3 participants
0