From 4892e9b69866fbda6bd37d93ac67991e040e0432 Mon Sep 17 00:00:00 2001 From: Ali Hamdan Date: Wed, 16 Jul 2025 20:48:54 +0200 Subject: [PATCH] DOC: Document that str.match accepts a regular expression Similar to str.fullmatch and other methods --- pandas/core/strings/accessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/strings/accessor.py b/pandas/core/strings/accessor.py index d1cf1e7504ece..d11a32c3aa9cb 100644 --- a/pandas/core/strings/accessor.py +++ b/pandas/core/strings/accessor.py @@ -1374,7 +1374,7 @@ def match(self, pat: str, case: bool = True, flags: int = 0, na=lib.no_default): Parameters ---------- pat : str - Character sequence. + Character sequence or regular expression. case : bool, default True If True, case sensitive. flags : int, default 0 (no flags)