Skip to content

Commit

Permalink
fix: Faulty escape_regex example (#19440)
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite authored Oct 25, 2024
1 parent 425e251 commit 25b54dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/polars/series/string.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
[
Expand Down

0 comments on commit 25b54dc

Please sign in to comment.