Browse Source

Regex

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

2
README.md

@ -171,7 +171,7 @@ re.split(<regex>, text, maxsplit=0) # Use brackets in regex to keep the matches
**'Search' and 'match' functions return a 'Match' object. Use '.group()' method on it to get the match.** **'Search' and 'match' functions return a 'Match' object. Use '.group()' method on it to get the match.**
**Parameter 'flags=re.IGNORECASE' can be used with all functions.** **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 '\\1' or r'\1' for backreference.**
**Use '\\\\1' or r'\1' for backreference.**
#### Special Sequences: #### Special Sequences:
```python ```python

Loading…
Cancel
Save