Added [:print:] class to character classes
This commit is contained in:
parent
447de944e4
commit
69ebb03cca
|
@ -19,7 +19,7 @@ description: |
|
|||
### Character classes
|
||||
|
||||
| Pattern | Description |
|
||||
| -------- | ------------------------------------ |
|
||||
| ------------- | ---------------------------------------- |
|
||||
| `.` | Any character, except newline |
|
||||
| `\w` | Word |
|
||||
| `\d` | Digit |
|
||||
|
@ -30,6 +30,7 @@ description: |
|
|||
| `[abc]` | Any of a, b, or c |
|
||||
| `[a-e]` | Characters between `a` and `e` |
|
||||
| `[1-9]` | Digit between `1` and `9` |
|
||||
| `[[:print:]]` | Any printable character including spaces |
|
||||
| `[^abc]` | Any character except `a`, `b` or `c` |
|
||||
|
||||
### Anchors
|
||||
|
|
Loading…
Reference in New Issue