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 0556a23 commit 62fcaf5Copy full SHA for 62fcaf5
protovalidate/internal/matches.py
@@ -44,6 +44,9 @@ def matches(text: str, pattern: str) -> bool:
44
Instead of foisting this issue on users, we instead mimic re2 syntax by failing
45
to compile the regex for patterns not compatible with re2.
46
47
+ Users can choose to override this behavior by providing their own custom matches
48
+ function via the Config.
49
+
50
Raises:
51
celpy.CELEvalError: If pattern contains invalid re2 syntax.
52
"""
0 commit comments