Skip to content

Add missing regex position check after BOL optimization - #66216

Merged
stephentoub merged 2 commits into
dotnet:mainfrom
stephentoub:fixbolopt
Mar 7, 2022
Merged

stephentoub merged 2 commits into
dotnet:mainfrom
stephentoub:fixbolopt

Conversation

@stephentoub

Copy link
Copy Markdown
Member

Fixes #66212

@ghost

ghost commented Mar 4, 2022

Copy link
Copy Markdown

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

Issue Details

Fixes #66212

Author: stephentoub
Assignees: -
Labels:

area-System.Text.RegularExpressions

Milestone: 7.0.0

@joperezr joperezr left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Not that I expect it to make a difference, but should we add a test that is actually multi-line like "car\nbar\n" and has more than one match?

@stephentoub

Copy link
Copy Markdown
Member Author

Sure

@EgorBo

EgorBo commented Mar 17, 2022

Copy link
Copy Markdown
Member

Improvements on win-x64 dotnet/perf-autofiling-issues#3993

@ghost ghost locked as resolved and limited conversation to collaborators Apr 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regex Matches Count gives ArgumentOutOfRangeException (regression)

3 participants