Skip to content

Explore regex source generator #7598

@rainersigwald

Description

@rainersigwald

.NET 7 introduces a regular expression source generator that can generate a bunch of code at compile time to make a more optimal matcher.

Since MSBuild uses many regular expressions and knows a bunch of them at compile time, we should adopt this.

Possible locations:

(non-exhaustive)

Metadata

Metadata

Assignees

Labels

Area: Performancebackloghelp wantedIssues that the core team doesn't plan to work on, but would accept a PR for. Comment to claim.triaged

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions