November 2018
Beginner
330 pages
7h 21m
English
Let's dig deeper into regex:
|
Symbol |
Meaning |
|
. |
Any character, except for end of the line |
|
^ |
The beginning of the line |
|
$ |
The end of the line |
|
\_. |
Any character, including end of the line |
|
\< |
The beginning of a word |
|
\> |
The end of a word |
There are also what Vim calls character classes:
|
Symbol |
Meaning |
|
\s |
Whitespace (Tab and Space) |
|
\d |
A digit |
|
\w |
A word character (digits, numbers or underscores) |
|
\l |
A lowercase character |
|
\u |
An uppercase character |
|
\a |
An alphabetic character |
These classes have the opposite effect when capitalized; for example, \D matches all non-digit characters, ...
Read now
Unlock full access