     /// - Returns: The validation rule.
     public static func regex(_ pattern: String) -> ValidationRule {
         return ValidationRule { input in
-            return input.isMatch(pattern)
+            input.isMatch(pattern)
         }
     }
 

    /// - Returns: The validation rule.
    public static func length(min length: Int) -> ValidationRule {
        return ValidationRule { input in
            return input.count >= length
        }
    }


    /// - Returns: The validation rule.
    public static func length(max length: Int) -> ValidationRule {
        return ValidationRule { input in
            input.count <= length
        }
    }

