Skip to content

Update MA0023 guidance for named regex groups - #1274

Merged
meziantou merged 1 commit into
mainfrom
update-ma0023-guidance
Aug 12, 2026
Merged

meziantou merged 1 commit into
mainfrom
update-ma0023-guidance

Conversation

@meziantou

Copy link
Copy Markdown
Owner

Summary

  • Clarify MA0023 to allow named groups as an alternative to RegexOptions.ExplicitCapture.
  • Update diagnostic text, rule documentation, README rule listings, and editorconfig descriptions.
  • Add a compliant named-group example to the MA0023 documentation.

Testing

Not run (not requested).

@meziantou
meziantou merged commit 15524b1 into main Aug 12, 2026
11 checks passed
@meziantou
meziantou deleted the update-ma0023-guidance branch August 12, 2026 13:03
@Frulfump

Copy link
Copy Markdown

Closes #1188 right?

This was referenced Aug 12, 2026
This was referenced Sep 10, 2026
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.

2 participants