We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 360ef04 commit 8b71cb4Copy full SHA for 8b71cb4
tests/botcore/utils/test_regex.py
@@ -5,7 +5,7 @@
5
6
7
def match_regex(s: str) -> Optional[str]:
8
- """Helper function to run re.search on a string.
+ """Helper function to run re.match on a string.
9
10
Return the invite capture group, if the string matches the pattern
11
else return None
@@ -15,7 +15,7 @@ def match_regex(s: str) -> Optional[str]:
15
16
17
def search_regex(s: str) -> Optional[str]:
18
- """Helper function to run re.match on a string.
+ """Helper function to run re.search on a string.
19
20
21
0 commit comments