diff options
author | 2022-08-16 18:40:56 -0400 | |
---|---|---|
committer | 2022-08-16 18:40:56 -0400 | |
commit | 8b71cb416a6b27c4e7829a0b4e898c0441c5f84a (patch) | |
tree | d8c2dfd7b1269e32e854d37c18d9d0dbf98a7520 /tests | |
parent | Removed a redundant regex character class (diff) |
Corrected docstrings
Diffstat (limited to 'tests')
-rw-r--r-- | tests/botcore/utils/test_regex.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |