Skip to content

Commit

Permalink
Add missing W in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
slevithan committed Nov 19, 2024
1 parent eb2975f commit ef56a6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Disables advanced emulation that relies on returning a `RegExp` subclass, result

### `flags`

Oniguruma flags; a string with `i`, `m`, and `x` in any order (all optional).
Oniguruma flags; a string with `i`, `m`, `x`, and `W` in any order (all optional).

Flags can also be specified via modifiers in the pattern.

Expand Down
4 changes: 2 additions & 2 deletions src/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ function getOptions(options) {
// Disables advanced emulation that relies on returning a `RegExp` subclass, resulting in
// certain patterns not being emulatable.
avoidSubclass: false,
// Oniguruma flags; a string with `i`, `m`, and `x` in any order (all optional). Oniguruma's
// `m` is equivalent to JavaScript's `s` (`dotAll`).
// Oniguruma flags; a string with `i`, `m`, `x`, and `W` in any order (all optional).
// Oniguruma's `m` is equivalent to JavaScript's `s` (`dotAll`).
flags: '',
// Include JavaScript flag `g` (`global`) in the result.
global: false,
Expand Down

0 comments on commit ef56a6c

Please sign in to comment.