You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a set like [A-F] with RegexOptions.IgnoreCase, we'll produce a set that's actually [A-Fa-f] (we do a limited form of this today and will do a more complete job of it after #61048). When emitting matching code for this, we'll emit it today as:
to handle the additional special-case. It already has a special-case for a range, and it already has a special-case for casing, we just need to add one that combines them. There may be additional cases to consider as well.
The text was updated successfully, but these errors were encountered:
Tagging subscribers to this area: @dotnet/area-system-text-regularexpressions
See info in area-owners.md if you want to be subscribed.
Issue Details
Given a set like [A-F] with RegexOptions.IgnoreCase, we'll produce a set that's actually [A-Fa-f] (we do a limited form of this today and will do a more complete job of it after #61048). When emitting matching code for this, we'll emit it today as:
to handle the additional special-case. It already has a special-case for a range, and it already has a special-case for casing, we just need to add one that combines them. There may be additional cases to consider as well.
Given a set like
[A-F]
withRegexOptions.IgnoreCase
, we'll produce a set that's actually[A-Fa-f]
(we do a limited form of this today and will do a more complete job of it after #61048). When emitting matching code for this, we'll emit it today as:but we could instead emit it as:
This will entail updating
runtime/src/libraries/System.Text.RegularExpressions/gen/RegexGenerator.Emitter.cs
Line 3073 in 6f40e48
The text was updated successfully, but these errors were encountered: