From 01ec5d7f1d840e8de1a2448c6d97bebcdb1f463b Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 24 Aug 2020 09:51:21 +0200 Subject: [PATCH] Fix a bad docstring indentation in filters.regex --- pyrogram/filters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/filters.py b/pyrogram/filters.py index e9b177ae..63628a60 100644 --- a/pyrogram/filters.py +++ b/pyrogram/filters.py @@ -781,8 +781,8 @@ def regex(pattern: Union[str, Pattern], flags: int = 0): stored in the ``matches`` field of the update object itself. Parameters: - pattern (``str`` | ``Pattern``): - The regex pattern as string or as pre-compiled pattern. + pattern (``str`` | ``Pattern``): + The regex pattern as string or as pre-compiled pattern. flags (``int``, *optional*): Regex flags.