Do not accumulate kuibu to thousands of miles, do not accumulate small flow into Jianghai--Xun Zi "an exhortation chapter"
Whether you look at a Linux book or a video tutorial, it is important to say that regular expressions can help manage the system by using regular expressions correctly. In fact, a regular expression is a method of handling strings, with the aid of special symbols that make it easy for users to find, delete, and replace specific strings. It can be said that it is the foundation of the Linux Foundation, after learning will certainly have a lot of gain.
The difference between the expression of the wildcards regular and the pass-match;
Wildcards are just a function of the Bash interface, while regular expressions are a way of representing string processing, and it is important to forget the meaning of the bash wildcard before learning the regular expression, otherwise it is easy to confuse the concepts of the two and affect the learning of regular expressions.
Second, the basic regular expression
1. Use brackets [] to find the set character
2. Beginning and end of line character ^$
3.
Regular expression of Linux learning notes