How to use regular search in Vim

Source: Internet
Author: User

# 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.