STRING:MATCH¶
This generator expression belongs to the String Queries family. See that section for related generator expressions.
Syntax¶
$<STRING:MATCH,string[,SEEK:(ONCE|ALL)],regular_expression>
Added in version 4.3.
Match, in the string, the regular_expression.
The SEEK: option specifies the match behavior:
ONCEMatch only the first occurrence. This is the default.
ALLMatch as many times as possible and return the matches as a list.
See the Regex Specification for the syntax of the
regular_expression parameter.