FSharpLint icon indicating copy to clipboard operation
FSharpLint copied to clipboard

Don't do new Regex.Match in a loop: rather create a Regex and then match that in your loop

Open Thorium opened this issue 11 months ago • 0 comments

Another idea for new rule:

Don't do new Regex.Match in a loop: rather capture let myRegex = Regex("...") and then loop your myRegex.Match

Thorium avatar Mar 15 '24 17:03 Thorium