Browse Source

Regex

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

2
README.md

@ -198,7 +198,7 @@ import re
<Match_iter> = re.finditer(<regex>, text) # Searches for all occurences of pattern. <Match_iter> = re.finditer(<regex>, text) # Searches for all occurences of pattern.
``` ```
#### Match Object:
#### Match object:
```python ```python
<str> = <Match>.group() # Whole match. <str> = <Match>.group() # Whole match.
<str> = <Match>.group(1) # Part in first bracket. <str> = <Match>.group(1) # Part in first bracket.

Loading…
Cancel
Save