You are viewing documentation about an older version (1.3.0). View latest version

snowflake.snowpark.Column.regexp

Column.regexp(pattern: ColumnOrLiteralStr) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.3.0/src/snowflake/snowpark/column.py#L542-L560)

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().

Language: English