Skip to content

Commit c9773c2

Browse files
spageekttiisaacs
authored andcommitted
fix: correct typos in README.md
PR-URL: #613 Credit: @spageektti Close: #613 Reviewed-by: @isaacs
1 parent 13e68ea commit c9773c2

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -564,13 +564,13 @@ share the previously loaded cache.
564564
`absolute` may not be used along with `withFileTypes`.
565565

566566
- `posix` Set to true to use `/` as the path separator in
567-
returned results. On posix systems, this has no effect. On
567+
returned results. On POSIX systems, this has no effect. On
568568
Windows systems, this will return `/` delimited path results,
569-
and absolute paths will be returned in their full resolved UNC
570-
path form, eg insted of `'C:\\foo\\bar'`, it will return
569+
and absolute paths will be returned in their fully resolved UNC
570+
path form, e.g. instead of `'C:\\foo\\bar'`, it will return
571571
`//?/C:/foo/bar`.
572572

573-
- `platform` Defaults to value of `process.platform` if
573+
- `platform` Defaults to the value of `process.platform` if
574574
available, or `'linux'` if not. Setting `platform:'win32'` on
575575
non-Windows systems may cause strange behavior.
576576

@@ -754,8 +754,8 @@ expanded **first** into the set of `+(a|b)` and `+(a|c)`, and
754754
those patterns are checked for validity. Since those two are
755755
valid, matching proceeds.
756756

757-
The character class patterns `[:class:]` (posix standard named
758-
classes) style class patterns are supported and unicode-aware,
757+
The character class patterns `[:class:]` (POSIX standard named
758+
classes) style class patterns are supported and Unicode-aware,
759759
but `[=c=]` (locale-specific character collation weight), and
760760
`[.symbol.]` (collating symbol), are not.
761761

@@ -779,13 +779,13 @@ To specify things that should not match, use the `ignore` option.
779779

780780
**Please only use forward-slashes in glob expressions.**
781781

782-
Though windows uses either `/` or `\` as its path separator, only
782+
Though Windows uses either `/` or `\` as its path separator, only
783783
`/` characters are used by this glob implementation. You must use
784784
forward-slashes **only** in glob expressions. Back-slashes will
785785
always be interpreted as escape characters, not path separators.
786786

787787
Results from absolute patterns such as `/foo/*` are mounted onto
788-
the root setting using `path.join`. On windows, this will by
788+
the root setting using `path.join`. On Windows, this will by
789789
default result in `/foo/*` matching `C:\foo\bar.txt`.
790790

791791
To automatically coerce all `\` characters to `/` in pattern
@@ -795,7 +795,7 @@ characters**, you may set the `windowsPathsNoEscape` option to
795795

796796
### Windows, CWDs, Drive Letters, and UNC Paths
797797

798-
On posix systems, when a pattern starts with `/`, any `cwd`
798+
On POSIX systems, when a pattern starts with `/`, any `cwd`
799799
option is ignored, and the traversal starts at `/`, plus any
800800
non-magic path portions specified in the pattern.
801801

@@ -970,9 +970,9 @@ course.</small>
970970

971971
### Benchmark Results
972972

973-
First number is time, smaller is better.
973+
The first number is time, smaller is better.
974974

975-
Second number is the count of results returned.
975+
The second number is the count of results returned.
976976

977977
```
978978
--- pattern: '**' ---

0 commit comments

Comments
 (0)