Skip to content

Commit 38d2a87

Browse files
committed
docs: fix example
closes #564
1 parent 3878a33 commit 38d2a87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/1.guide/2.usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ createRegExp(
3838
```
3939

4040
::alert
41-
By default, all helpers from `magic-regexp` assume that input that is passed should be escaped - so no special RegExp characters apply. So `createRegExp('foo?\d')` will not match `food3` but only `foo?\d` exactly.
41+
By default, all helpers from `magic-regexp` assume that input that is passed should be escaped - so no special RegExp characters apply. So `createRegExp('foo.\d')` will not match `food3` but only `foo.\d` exactly.
4242
::
4343

4444
## Creating inputs

0 commit comments

Comments
 (0)