Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 26, 2025

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-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 26, 2025
Copilot AI changed the title [WIP] Port changes from dotnet/runtime PR 121073 Fix GeneratedRegexAttribute cultureName parameter documentation Oct 26, 2025
Copilot finished work on behalf of jkotas October 26, 2025 19:47
Copilot AI requested a review from jkotas October 26, 2025 19:47
@jkotas jkotas requested a review from stephentoub October 26, 2025 23:46
@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 owner October 26, 2025 23:46
Copilot AI review requested due to automatic review settings October 26, 2025 23:46
Copy link

Copilot AI left a comment

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 main Oct 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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-area-label An 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.

3 participants