Skip to content

Commit 7769a42

Browse files
committed
docs(expansion): fix typo
1 parent 4e95b58 commit 7769a42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/expansion.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,11 +644,11 @@ abc.txt abc.txt.txt
644644
上面例子中,`+(.txt)`匹配文件有一个或多个`.txt`后缀名。
645645
646646
```bash
647-
$ ls a?(b).txt
647+
$ ls a!(b).txt
648648
a.txt abb.txt ac.txt
649649
```
650650
651-
上面例子中,`?(b)`表示匹配单个字母`b`以外的任意内容。
651+
上面例子中,`!(b)`表示匹配单个字母`b`以外的任意内容。
652652
653653
量词语法也属于文件名扩展,如果不存在可匹配的文件,就会原样输出。
654654

0 commit comments

Comments
 (0)