Skip to content

Commit

Permalink
chore: escape "\." in re_split() docstring
Browse files Browse the repository at this point in the history
This was giving me a `SyntaxError: invalid escape sequence '\.'`
  • Loading branch information
NickCrews authored and cpcloud committed Jan 27, 2024
1 parent fc856dc commit 210ad62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/expr/types/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ def re_extract(
why="Different backends support different regular expression syntax."
)
def re_split(self, pattern: str | StringValue) -> ir.ArrayValue:
"""Split a string by a regular expression `pattern`.
r"""Split a string by a regular expression `pattern`.
Parameters
----------
Expand Down

0 comments on commit 210ad62

Please sign in to comment.