# Set Magic
The function of this sentence is to open the regular of vim.
So you can search for it.
As for the relevant content of the regular. Copy it here. To avoid the next time you want to go to Baidu.
symbols |
Match |
. (dot) |
Any single character |
\d |
Any one digit |
[A-z] |
a to Z any one of the characters (uppercase) |
[A-z] |
a to Z any one of the characters (lowercase) |
[A-za-z] |
a to Z any one character (case insensitive) |
+ |
Match one or more (for example, \d+ matches one or more numeric characters) |
[^/]+ |
One or more characters that are not '/' |
* |
0 or one previous expression (for example:\d? match 0 or a number) |
* |
Match 0 or more (for example, \d* matches 0 or more numeric characters) |
{1,3} |
An expression that precedes one and three (inclusive) (for example,\d{1,3} matches one or two or three digits) |
This is basic. Copied from Django. If there are other needs. Self-Baidu.
such as Coffen's this piece of:
How to use regular search in Vim