We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aef7b62 commit fb0cfadCopy full SHA for fb0cfad
protovalidate/internal/extra_func.py
@@ -137,7 +137,7 @@ def cel_is_email(string: celtypes.Value) -> celpy.Result:
137
if not isinstance(string, celtypes.StringType):
138
msg = "invalid argument, expected string"
139
raise celpy.CELEvalError(msg)
140
- m = _email_regex.match(string) is not None
+ m = _email_regex.fullmatch(string) is not None
141
return celtypes.BoolType(m)
142
143
0 commit comments