Browse Source

Regex

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

6
README.md

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

|||||||
100:0
Loading…
Cancel
Save