match
function:
- Can also be called as
match_regex
Return true if the first string argument match the second regular expression argument.
For regular expression syntax, see https://docs.rs/regex/latest/regex/#syntax.
Use --regular_expression_cache_size
so set a cache for compiled regular expressions.
Examples:
- running:
(match "test", "[a-z]+")
will give:true
- running:
(match "test", "[0-9]+")
will give:false
- running:
(match "test", "[0-9")
will return nothing