Skip to content

Commit c31483f

Browse files
Remove matches override
1 parent 9699c69 commit c31483f

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

protovalidate/internal/extra_func.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,19 +1561,6 @@ def make_extra_funcs() -> cel.CelExtension:
15611561
)
15621562
],
15631563
),
1564-
# string.matches(pattern) -> bool — override built-in to use RE2
1565-
cel.FunctionDecl(
1566-
"matches",
1567-
[
1568-
cel.Overload(
1569-
"matches_string_string",
1570-
return_type=cel.Type.BOOL,
1571-
parameters=[cel.Type.STRING, cel.Type.STRING],
1572-
is_member=True,
1573-
impl=cel_matches,
1574-
)
1575-
],
1576-
),
15771564
# getField(message, fieldName) -> dyn — global function for reserved-keyword fields
15781565
cel.FunctionDecl(
15791566
"getField",

0 commit comments

Comments
 (0)