Linux Regular Expression outline

Source: Internet
Author: User
Tags perl regular expression posix

Long time have not updated blog, Hope not forget beginner's mind 51CTO find the original happy memories!


Classification of regular expressions
    1. Basic Regular Expressions (basic Regular expression also known as basic RegEx abbreviation Bres)

    2. Extended Regular expression (Extended Regular expression also known as Extended RegEx abbreviation Eres)

    3. Perl Regular Expressions (Perl Regular expression called Perl RegEx abbreviation pres)



Basic components

The basic component of a regular expression.




POSIX character class

The POSIX character class is a special meta-sequence (meta sequence) of a shape such as [: ...:] that can be used to match a specific range of characters.




Metacharacters

Metacharacters (meta character) is a Perl-style regular expression that is supported by only a subset of text processing tools, not all text processing tools.


    Linux Regular Expression outline

    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.