pub fn regex_extract<L, R>(
expression: impl IntoExpr<L>,
pattern: impl IntoExpr<R>,
) -> Expr<Option<String>>where
L: StringUnaryExpr,
R: StringUnaryExpr,Expand description
Returns the first matching substring, or NULL when there is no match.
Requires PostgreSQL 15 or newer.
Maps to PostgreSQL REGEXP_SUBSTR.