File tree Expand file tree Collapse file tree 2 files changed +17
-17
lines changed
Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -60,16 +60,16 @@ On Windows, UNC paths like `//?/c:/...` or
6060` //ComputerName/Share/... ` are handled specially.
6161
6262- Patterns starting with a double-slash followed by some
63- non-slash characters will preserve their double-slash. As a
63+ non-slash characters will preserve their double-slash. As a
6464 result, a pattern like ` //* ` will match ` //x ` , but not ` /x ` .
65- - Patterns staring with ` //?/<drive letter>: ` will * not * treat
66- the ` ? ` as a wildcard character. Instead, it will be treated
65+ - Patterns staring with ` //?/<drive letter>: ` will _ not _ treat
66+ the ` ? ` as a wildcard character. Instead, it will be treated
6767 as a normal string.
6868- Patterns starting with ` //?/<drive letter>:/... ` will match
6969 file paths starting with ` <drive letter>:/... ` , and vice versa,
70- as if the ` //?/ ` was not present. This behavior only is
70+ as if the ` //?/ ` was not present. This behavior only is
7171 present when the drive letters are a case-insensitive match to
72- one another. The remaining portions of the path/pattern are
72+ one another. The remaining portions of the path/pattern are
7373 compared case sensitively, unless ` nocase:true ` is set.
7474
7575Note that specifying a UNC path using ` \ ` characters as path
Original file line number Diff line number Diff line change 44
55- Handle UNC paths on Windows
66
7- This adds some slightly modified behavior when a pattern or path starts
8- with ` // ` on Windows.
9-
10- - In the case of ` //?/<drive letter>:/... ` , the ` ? ` is treated as a
11- literal character, rather than a wildcard. That is, ` //?/c: ` will
12- _ not_ match ` //x/c: ` .
13- - UNC patterns starting with ` //?/<drive letter>:/ ` will match file paths
14- starting with ` <drive letter>: ` if the drive letters match
15- case-insensitively.
16- - File paths starting with ` //?/<drive letter>:/ ` will match file
17- patterns starting with ` <drive letter>: ` if the drive letters match
18- case-insensitively.
7+ This adds some slightly modified behavior when a pattern or path starts
8+ with ` // ` on Windows.
9+
10+ - In the case of ` //?/<drive letter>:/... ` , the ` ? ` is treated as a
11+ literal character, rather than a wildcard. That is, ` //?/c: ` will
12+ _ not_ match ` //x/c: ` .
13+ - UNC patterns starting with ` //?/<drive letter>:/ ` will match file paths
14+ starting with ` <drive letter>: ` if the drive letters match
15+ case-insensitively.
16+ - File paths starting with ` //?/<drive letter>:/ ` will match file
17+ patterns starting with ` <drive letter>: ` if the drive letters match
18+ case-insensitively.
1919
2020- Add ` {preserveMultipleSlashes:true} ` option to suppress the
2121 behavior where multiple consecutive ` / ` characters would be
You can’t perform that action at this time.
0 commit comments