         "\\s*"  + // Zero or unlimited any whitespace character
         ")"     + // End of the second non-capturing group
         "\\{"     // Start scope character
-    )
 
     public static let description = RuleDescription(
         identifier: "untyped_error_in_catch",

        ])

    public func validate(file: File) -> [StyleViolation] {
        let matchesAndSyntaxKinds = file.matchesAndSyntaxKinds(matching: type(of: self).regularExpression.pattern)
        return matchesAndSyntaxKinds.flatMap { match, syntaxKinds in
            guard syntaxKinds.contains(.keyword) else {
                return nil
            }

            let location = Location(file: file,
                                    characterOffset: match.range.lowerBound)
            return StyleViolation(ruleDescription: type(of: self).description,
                                  severity: configuration.severity,
                                  location: location,
                                  reason: configuration.consoleDescription)
        }
    }


    public init() {}

    private static let regularExpression =
        "catch" + // The catch keyword
        "(?:"   + // Start of the first non-capturing group
        "\\s*"  + // Zero or multiple whitespace character
