pub fn regex_count<L, R>(
expression: impl IntoExpr<L>,
pattern: impl IntoExpr<R>,
) -> Expr<<L as StringBinaryExpr<R, i32>>::Output>where
L: StringBinaryExpr<R, i32>,Expand description
Counts non-overlapping POSIX regular-expression matches.
Requires PostgreSQL 15 or newer.
Maps to PostgreSQL REGEXP_COUNT.