Skip to content

Commit 312360f

Browse files
committed
formatting
1 parent f35d0b8 commit 312360f

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

7575
Note that specifying a UNC path using `\` characters as path

changelog.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
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

0 commit comments

Comments
 (0)