Skip to content

Commit ff13549

Browse files
committed
Regex
1 parent 2e00229 commit ff13549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ import re
250250
<list> = re.findall(<regex>, text)
251251
<list> = re.split(<regex>, text, maxsplit=0) # Use brackets in regex to keep the matches.
252252
<Match> = re.search(<regex>, text) # Searches for first occurrence of pattern.
253-
<Match> = re.match(<regex>, text) # Searches only at the beginning of the string.
253+
<Match> = re.match(<regex>, text) # Searches only at the beginning of the text.
254254
<Match_iter> = re.finditer(<regex>, text) # Searches for all occurrences of pattern.
255255
```
256256

0 commit comments

Comments
 (0)