Browse Source

Regex special sequences added

pull/3/head
Jure Šorn 7 years ago
parent
commit
51941ffa46
1 changed files with 9 additions and 0 deletions
  1. 9
      README.md

9
README.md

@ -172,6 +172,15 @@ re.split(<regex>, text, maxsplit=0) # Use brackets in regex to keep the matches
**Parameter 'flags=re.IGNORECASE' can be used with all functions.**
**Use r'\1' for backreference.**
#### Special Sequences
```
\d == [0-9] # Digit
\s == [ \t\n\r\f\v] # Whitespace
\w == [a-zA-Z0-9_] # Alphanumeric
```
**Use capital letter for negation**
### Format
```python
'{}'.format(<el> [, <el>, ...])

Loading…
Cancel
Save