Skip to content

Commit b1de4b5

Browse files
authored
docs: add missing imports in examples.md (#208)
1 parent 7a27bae commit b1de4b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/2.getting-started/3.examples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Examples
55
### Quick-and-dirty semver
66

77
```js
8-
import { createRegExp, exactly, oneOrMore, digit } from 'magic-regexp'
8+
import { createRegExp, exactly, oneOrMore, digit, char } from 'magic-regexp'
99

1010
createRegExp(
1111
oneOrMore(digit)
@@ -21,7 +21,7 @@ createRegExp(
2121

2222
```js
2323
import assert from 'node:assert'
24-
import { createRegExp, word, char, oneOrMore } from 'magic-regexp'
24+
import { createRegExp, wordChar, char, oneOrMore } from 'magic-regexp'
2525

2626
const TENET_RE = createRegExp(
2727
wordChar

0 commit comments

Comments
 (0)