Classification of regular Expressions:
1. Basic Regular Expressions (basic Regular expression also known as basic RegEx abbreviation Bres)
2. Extended Regular Expressions (Extended Regular expression also known as Extended RegEx abbreviation Eres), extended expressions have + 、?、 | and ()
3, Perl Regular expression (Perl Regular expression also called Perl RegEx abbreviation pres)
650) this.width=650; "src=" Https://s1.51cto.com/oss/201711/14/6e1c2055f6438e357c6ed243764c814a.png "title=" The basic component of the shell regular expression. png "alt=" 6e1c2055f6438e357c6ed243764c814a.png "/>
650) this.width=650; "src=" Https://s4.51cto.com/oss/201711/14/448e24b25d9c986a774b8eb1da5592a6.png "style=" float: none; "Title=" POSIX character class regular expression. png "alt=" 448e24b25d9c986a774b8eb1da5592a6.png "/>
650) this.width=650; "src=" Https://s5.51cto.com/oss/201711/14/6aebd8face57588e2ae24e0a0e1447de.png "style=" float: none; "Title=" POSIX character class regular expression extension read 1.png "alt=" 6aebd8face57588e2ae24e0a0e1447de.png "/>
650) this.width=650; "src=" Https://s1.51cto.com/oss/201711/14/70d6ce94c2a6b230ce8f7da4e96ec1a6.png "style=" float: none; "Title=" POSIX character class regular expression extension read 2.png "alt=" 70d6ce94c2a6b230ce8f7da4e96ec1a6.png "/>
650) this.width=650; "src=" Https://s4.51cto.com/oss/201711/14/e635dbfdb9e6b2e8526ac1be27e5d05b.png "style=" float: none; the "title=" meta-character regular the expression. png "alt=" E635dbfdb9e6b2e8526ac1be27e5d05b.png "/>
example, I can make up one more time.
Reference:
Http://man.linuxde.net/docs/shell_regex.html
This article is from "Zen Sword as" blog, please be sure to keep this source http://yanconggod.blog.51cto.com/1351649/1981856
The regular expression of the shell