snowflake.snowpark.Column.regexp¶

Column.regexp(pattern: Union[Column, str], parameters: Optional[Union[Column, str]] = None) → Column[source]¶

Returns true if this Column matches the specified regular expression.

Parameters:

pattern – A Column or a str that indicates the pattern. A str will be interpreted as a literal value instead of a column name.

For details, see the Snowflake documentation on regular expressions.

rlike() is an alias of regexp().