RegexFullMatch¶
RegexFullMatch - 20¶
Version¶
name: RegexFullMatch (GitHub)
domain:
main
since_version:
20
function:
False
support_level:
SupportType.COMMON
shape inference:
True
This version of the operator has been available since version 20.
Summary¶
RegexFullMatch performs a full regex match on each element of the input tensor. If an element fully matches the regex pattern specified as an attribute, the corresponding element in the output is True and it is False otherwise. RE2 regex syntax is used.
Attributes¶
pattern - STRING :
Regex pattern to match on. This must be valid RE2 syntax.
Inputs¶
X (heterogeneous) - T1:
Tensor with strings to match on.
Outputs¶
Y (heterogeneous) - T2:
Tensor of bools indicating if each input string fully matches the regex pattern specified.
Type Constraints¶
T1 in (
tensor(string)
):Inputs must be UTF-8 strings
T2 in (
tensor(bool)
):Outputs are bools and are True where there is a full regex match and False otherwise.