Skip to content

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

@Thorium

Description

@Thorium

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions