From 8b71cb416a6b27c4e7829a0b4e898c0441c5f84a Mon Sep 17 00:00:00 2001 From: ionite34 Date: Tue, 16 Aug 2022 18:40:56 -0400 Subject: Corrected docstrings --- tests/botcore/utils/test_regex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/botcore/utils/test_regex.py b/tests/botcore/utils/test_regex.py index 4a7390a5..491e22bd 100644 --- a/tests/botcore/utils/test_regex.py +++ b/tests/botcore/utils/test_regex.py @@ -5,7 +5,7 @@ from botcore.utils.regex import DISCORD_INVITE def match_regex(s: str) -> Optional[str]: - """Helper function to run re.search on a string. + """Helper function to run re.match on a string. Return the invite capture group, if the string matches the pattern else return None @@ -15,7 +15,7 @@ def match_regex(s: str) -> Optional[str]: def search_regex(s: str) -> Optional[str]: - """Helper function to run re.match on a string. + """Helper function to run re.search on a string. Return the invite capture group, if the string matches the pattern else return None -- cgit v1.2.3