Character Classes
A character class defines a set of characters, any one of which could occur in an input string for a match to succeed:
| \c | Control character |
| \s | White space |
| \S | Not white space |
| \d | Digit |
| \D | Not digit |
| \w | Word |
| \W | Not word |
A character class defines a set of characters, any one of which could occur in an input string for a match to succeed:
| \c | Control character |
| \s | White space |
| \S | Not white space |
| \d | Digit |
| \D | Not digit |
| \w | Word |
| \W | Not word |