Pattern Matching

*
Matches any string, including the null string.
?
Matches any single character.
[ ]
Matches any of the enclosed characters.
?(pattern_list)
Matches zero or one occurrence of the given patterns.
*(pattern_list)
Matches zero or more occurrence of the given patterns.
+(pattern_list)
Matches one or more occurrence of the given patterns.
@(pattern_list)
Matches one of the given patterns.
!(pattern_list)
Matches anything except one of the given patterns.

2020–07–21