|
|
@ -174,12 +174,11 @@ re.split(<regex>, text, maxsplit=0) # Use brackets in regex to keep the matches |
|
|
|
|
|
|
|
#### Special Sequences: |
|
|
|
```python |
|
|
|
# Use capital letter for negation. |
|
|
|
'\d' == '[0-9]' # Digit |
|
|
|
'\s' == '[ \t\n\r\f\v]' # Whitespace |
|
|
|
'\w' == '[a-zA-Z0-9_]' # Alphanumeric |
|
|
|
``` |
|
|
|
**Use capital letter for negation.** |
|
|
|
|
|
|
|
|
|
|
|
### Format |
|
|
|
```python |
|
|
|