-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Inconsistent Regex matching behavior in InvariantCulture #58956
Comments
Tagging subscribers to this area: @eerhardt, @dotnet/area-system-text-regularexpressions Issue DetailsDescription
Configuration.NET 5.0 Regression?Not sure if this is a regression. In earlier versions Other informationThis is a repo:
|
Possible dupe of #58958. |
This is not a regression. Same behavior repros on .NET Framework 4.8. |
@pgovind FYI on Stephen's findings.
|
Description
RegexOptions.None
andRegexOptions.Compiled
give different answers inInvariantCulture
when ignoring case and involving \u0130 (Turkish I with dot).In this case
Compiled
gives the wrong match that starts with \u0130.The expected match below is "II".
Configuration
.NET 5.0
Regression?
Not sure if this is a regression. In earlier versions
System.Globalization.CultureInfo.CurrentCulture
cannot be set, I believe.
Other information
This is a repo:
The text was updated successfully, but these errors were encountered: