Skip to content

Conversation

@xtqqczze
Copy link
Contributor

@xtqqczze xtqqczze commented Oct 24, 2025

The documentation appears to be incorrect.

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Oct 24, 2025
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-text-regularexpressions
See info in area-owners.md if you want to be subscribed.

@stephentoub stephentoub marked this pull request as ready for review October 26, 2025 14:53
Copilot AI review requested due to automatic review settings October 26, 2025 14:53
@stephentoub
Copy link
Member

Thanks

Copy link
Contributor

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 corrects documentation errors in the GeneratedRegexAttribute class where the cultureName parameter's purpose was incorrectly described. The documentation previously stated that culture names are used for "case sensitive comparisons" when they are actually used for "case-insensitive comparisons" in regular expression matching.

Key changes:

  • Corrected three instances of misleading documentation regarding the purpose of the cultureName parameter
  • Changed "case sensitive" to "case-insensitive" to accurately reflect how culture names affect regex matching behavior

@stephentoub stephentoub merged commit 82ce59a into dotnet:main Oct 26, 2025
87 of 89 checks passed
@xtqqczze xtqqczze deleted the GeneratedRegexAttribute-cultureName branch October 26, 2025 15:40
@jkotas
Copy link
Member

jkotas commented Oct 26, 2025

Port to dotnet-api-docs: dotnet/dotnet-api-docs#11975

jkotas added a commit to dotnet/dotnet-api-docs that referenced this pull request Oct 26, 2025
Ports documentation fix from dotnet/runtime#121073. 

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Text.RegularExpressions community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants