Browse Source

Regex

pull/3/head
Jure Šorn 6 years ago
parent
commit
ff13549edc
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -250,7 +250,7 @@ import re
<list> = re.findall(<regex>, text)
<list> = re.split(<regex>, text, maxsplit=0) # Use brackets in regex to keep the matches.
<Match> = re.search(<regex>, text) # Searches for first occurrence of pattern.
<Match> = re.match(<regex>, text) # Searches only at the beginning of the string.
<Match> = re.match(<regex>, text) # Searches only at the beginning of the text.
<Match_iter> = re.finditer(<regex>, text) # Searches for all occurrences of pattern.
```

Loading…
Cancel
Save