Prefer raw string literals for regex patterns
ProprietaryReplace interpreted string literals containing backslash escapes with raw string literals in regexp.Compile or regexp.MustCompile calls.
org. openrewrite. golang. codequality. PreferRawStringForRegexmod run . --recipe= org. openrewrite. golang. codequality. PreferRawStringForRegexInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.