Shell Regular Expression

Source: Internet
Author: User
Tags perl regular expression posix

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.

650) this.width=650; "title=" 01.png "src=" http://s3.51cto.com/wyfs02/M00/80/79/wKiom1dCrlTy1OVVAACDJROIVlQ869.png "alt=" Wkiom1dcrlty1ovvaacdjroivlq869.png "/>

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.

650) this.width=650; "title=" 02.png "src=" http://s5.51cto.com/wyfs02/M01/80/79/wKiom1dCrmLxiGw5AABUsFkEec0348.png "alt=" Wkiom1dcrmlxigw5aabusfkeec0348.png "/>

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.

650) this.width=650; "title=" 03.png "src=" http://s4.51cto.com/wyfs02/M01/80/77/wKioL1dCr13gV-sgAABTQ32DOWg279.png "alt=" Wkiol1dcr13gv-sgaabtq32dowg279.png "/>

This article is from the "Enterゝ blog" blog, make sure to keep this source http://wanglei1024.blog.51cto.com/268702/1782136

Shell Regular Expression

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.