- 论坛徽章:
- 2
|
回复 1# 413xp
[...] Matches any one of the enclosed characters. A pair of characters separated by a hyphen denotes a
range expression; any character that sorts between those two characters, inclusive, using the
current localeâs collating sequence and character set, is matched. If the first character fol-
lowing the [ is a ! or a ^ then any character not enclosed is matched. The sorting order of
characters in range expressions is determined by the current locale and the value of the LC_COL-
LATE shell variable, if set. A - may be matched by including it as the first or last character
in the set. A ] may be matched by including it as the first character in the set. |
|