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
the regex pattern "(?:(?:a|)+?b){2}" matches outside the input string "ab" which is a bug. Additionally, the .Value accessor does not check that the match is a valid range.
The match range is out of bound of the input string resulting in the following error: Unhandled exception. System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. (Parameter 'length')
Activity
dotnet-policy-service commentedon Oct 7, 2026
Tagging subscribers to this area: @dotnet/area-system-text-regularexpressions
See info in area-owners.md if you want to be subscribed.
MihaZupan commentedon Oct 7, 2026
Similar as #135328, this may have been fixed by #120872
MihaZupan commentedon Oct 19, 2026
I'll close this as fixed, feel free to comment again if you see otherwise