polars.Expr.meta.is_regex_projection#

Expr.meta.is_regex_projection() bool[source]#

Whether this expression expands to columns that match a regex pattern.

Examples

>>> e = pl.col("^.*$").alias("bar")
>>> e.meta.is_regex_projection()
True