Find Regex that could use source generator
ProprietaryDetect new Regex(...) calls that could benefit from the [GeneratedRegex] source generator attribute for better performance (.NET 7+).
OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindUseRegexSourceGeneratormod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindUseRegexSourceGeneratorInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.