Skip to content

Fix GeneratedRegexAttribute cultureName parameter documentation - #11975

Merged
jkotas merged 2 commits into
mainfrom
copilot/port-changes-from-dotnet-runtime-121073
Oct 26, 2025
Merged

Fix GeneratedRegexAttribute cultureName parameter documentation#11975
jkotas merged 2 commits into
mainfrom
copilot/port-changes-from-dotnet-runtime-121073

Conversation

CopilotAI commented Oct 26, 2025

Copy link
Copy Markdown
Contributor

Ports documentation fix from dotnet/runtime#121073. The cultureName parameter was incorrectly documented as being used for "case sensitive comparisons" when it's actually used for "case-insensitive comparisons."

Changes

  • Updated cultureName parameter documentation in two constructor overloads (with and without matchTimeoutMilliseconds)
  • Updated CultureName property summary

The parameter specifies which culture's casing rules to apply when performing case-insensitive matches (e.g., Turkish vs. English "i"/"I" mappings).

Original prompt

Create PR that ports changes from dotnet/runtime#121073 to this repo


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@github-actionsgithub-actionsBot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 26, 2025
…cultureName parameter
Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
CopilotAI changed the title [WIP] Port changes from dotnet/runtime PR 121073Fix GeneratedRegexAttribute cultureName parameter documentationOct 26, 2025
CopilotAI requested a review from jkotasOctober 26, 2025 19:47
@jkotas
jkotas marked this pull request as ready for review October 26, 2025 23:46
@jkotas
jkotas requested a review from a team as a code ownerOctober 26, 2025 23:46
CopilotAI review requested due to automatic review settings October 26, 2025 23:46

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes incorrect documentation for the GeneratedRegexAttribute.cultureName parameter and CultureName property, correcting "case sensitive" to "case-insensitive" to accurately reflect that this parameter specifies which culture's casing rules apply during case-insensitive matching operations.

  • Corrected parameter documentation in two constructor overloads
  • Updated property summary documentation

@jkotas
jkotas merged commit 975cee0 into mainOct 26, 2025
5 checks passed
@jkotas
jkotas deleted the copilot/port-changes-from-dotnet-runtime-121073 branch October 26, 2025 23:58
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@stephentoub@jkotas