Home >Web Front-end >JS Tutorial >Basic rules in Linux
This article mainly introduces the relevant information on the basic regular expressions in Linux. It is very good and has reference value. Friends who need it can refer to it. Match the following
characters:
. : Match any single character
[] : Match any single character within the specified range;
## This [^]: Matching any single character outside the formation [: Digit:] LOWER Upper Alpha Alnum Space
##:: Use it to specify the characters that appear, the characters to the number of times, Used to limit the number of occurrences of the preceding character
$: End of line anchoring: used for the far right side of the pattern
^Pattern: For Pattern
# ^$: blank line
^[[: space:]]:# words: non -
Special characters
character
) all become words
# \ & lt; , used for the left side of the word pattern
\> or \b: word-suffix anchor, used for the right side of the word pattern
The above is the detailed content of Basic rules in Linux. For more information, please follow other related articles on the PHP Chinese website!