polars.Expr.meta.is_regex_projection#

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

Indicate if this expression expands to columns that match a regex pattern.

Examples

>>> e = pl.col("^.*$").name.prefix("foo_")
>>> e.meta.is_regex_projection()
True