Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
2fd committed Dec 15, 2023
1 parent 9b03b3e commit 93ab777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A WebAssembly build of [Rust Regex](https://docs.rs/regex/latest/regex/) for Jav
- [`findAt(text: string): Match | undefined;`](#findattext-string-match--undefined)
- [`findAll(text: string): Match[];`](#findalltext-string-match)
- [`capturesLength(): number;`](#captureslength-number) (since 1.8)
- [`captureNames(): string[];`](#capturenames-string) (since 1.8)
- [`captureNames(): (string | null)[];`](#capturenames-string--null) (since 1.8)
- [`captures(text: string): Captures | undefined;`](#capturestext-string-captures--undefined) (since 1.8)
- [`capturesAll(text: string): Captures[];`](#capturesalltext-string-captures) (since 1.8)
- [`replace(text: string, rep: string): string;`](#replacetext-string-rep-string-string)
Expand Down Expand Up @@ -142,7 +142,7 @@ Returns an array for each successive non-overlapping match in text, returning th

[See Documentation for `find_iter`](https://docs.rs/regex/latest/regex/struct.Regex.html#method.find_iter)

### `captureNames(): string[];`
### `captureNames(): (string | null)[];`

> Note: available since 1.8
Expand Down

0 comments on commit 93ab777

Please sign in to comment.