pyflink.table.expression.Expression.regexp_count#
- Expression.regexp_count(regex) pyflink.table.expression.Expression [source]#
Returns the number of times str matches the regex pattern. regex must be a Java regular expression. null if any of the arguments are null or regex is invalid.
- Parameters
regex – A STRING expression with a matching pattern.
- Returns
An INTEGER representation of the number of matches.
New in version 1.12.0.