From 25b54dcf93bd70d1a6dece0c9f40c235faac83dd Mon Sep 17 00:00:00 2001 From: Gijs Burghoorn Date: Fri, 25 Oct 2024 13:50:59 +0200 Subject: [PATCH] fix: Faulty `escape_regex` example (#19440) --- py-polars/polars/series/string.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-polars/polars/series/string.py b/py-polars/polars/series/string.py index 42c17b2ebc1c..97f3e373e98f 100644 --- a/py-polars/polars/series/string.py +++ b/py-polars/polars/series/string.py @@ -2089,7 +2089,7 @@ def escape_regex(self) -> Series: Examples -------- - >>> pl.Series(["abc", "def", None, "abc(\\w+)"]).str.escape_regex()) + >>> pl.Series(["abc", "def", None, "abc(\\w+)"]).str.escape_regex() shape: (4,) Series: '' [str] [