|
|
@ -265,10 +265,10 @@ import re |
|
|
|
<Match_iter> = re.finditer(<regex>, text) # Searches for all occurrences of pattern. |
|
|
|
``` |
|
|
|
|
|
|
|
* **Use `'\\\\1'` or `r'\1'` for backreference.** |
|
|
|
* **Use `?` to make operators non-greedy.** |
|
|
|
* **Parameter `'flags=re.IGNORECASE'` can be used with all functions.** |
|
|
|
* **Parameter 'flags=re.DOTALL' makes dot also accept newline.** |
|
|
|
* **Use '\\\\1' or r'\1' for backreference.** |
|
|
|
* **Use ? to make operators non-greedy.** |
|
|
|
* **Parameter `'flags=re.DOTALL'` makes dot also accept newline.** |
|
|
|
|
|
|
|
### Match Object |
|
|
|
```python |
|
|
|