mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Fix a bad docstring indentation in filters.regex
This commit is contained in:
parent
3e3d77fdaf
commit
01ec5d7f1d
@ -781,8 +781,8 @@ def regex(pattern: Union[str, Pattern], flags: int = 0):
|
|||||||
stored in the ``matches`` field of the update object itself.
|
stored in the ``matches`` field of the update object itself.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
pattern (``str`` | ``Pattern``):
|
pattern (``str`` | ``Pattern``):
|
||||||
The regex pattern as string or as pre-compiled pattern.
|
The regex pattern as string or as pre-compiled pattern.
|
||||||
|
|
||||||
flags (``int``, *optional*):
|
flags (``int``, *optional*):
|
||||||
Regex flags.
|
Regex flags.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user