|
@ -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. |
|
|