Regular Expression, Regular Expression
Compared with windows operating systems, regular expressions are one of the few features that have advantages in ease of use. The tools that use regular expressions include awk, ed, egrep, grep, sed, and vi. However, these tools support different programs for regular expressions. awk and egrep support regular expressions, while grep does not support regular expressions, not only can we reduce the repetitive workload in actual operations, but it is also very helpful when reading shell scripts developed by others.
Regular expression syntax
What do you learn?
@ And "" belong to the scope of the program language and have nothing to do with regular expressions.
@ Indicates that the escape characters of the subsequent strings do not have the escape function.
"" String flag
^, *, $ 1L. You didn't see it ......
^ String start
* Quantity modification, indicating that the previous content can appear any time (0 times)
$ String end
Your regular expression match is a string of all numbers (the null string can also be used)
Regular Expressions indicate that regular expressions are everywhere on the Internet.
There are also many common Regular Expressions
You can search it yourself.
Regular expression syntax
What do you learn?
@ And "" belong to the scope of the program language and have nothing to do with regular expressions.
@ Indicates that the escape characters of the subsequent strings do not have the escape function.
"" String flag
^, *, $ 1L. You didn't see it ......
^ String start
* Quantity modification, indicating that the previous content can appear any time (0 times)
$ String end
Your regular expression match is a string of all numbers (the null string can also be used)
Regular Expressions indicate that regular expressions are everywhere on the Internet.
There are also many common Regular Expressions
You can search it yourself.