Skip to content

Commit 8b71cb4

Browse files
committed
Corrected docstrings
1 parent 360ef04 commit 8b71cb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/botcore/utils/test_regex.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
def match_regex(s: str) -> Optional[str]:
8-
"""Helper function to run re.search on a string.
8+
"""Helper function to run re.match on a string.
99
1010
Return the invite capture group, if the string matches the pattern
1111
else return None
@@ -15,7 +15,7 @@ def match_regex(s: str) -> Optional[str]:
1515

1616

1717
def search_regex(s: str) -> Optional[str]:
18-
"""Helper function to run re.match on a string.
18+
"""Helper function to run re.search on a string.
1919
2020
Return the invite capture group, if the string matches the pattern
2121
else return None

0 commit comments

Comments
 (0)