Skip to content

Commit

Permalink
Style.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmorris committed Sep 5, 2024
1 parent aa0c8d9 commit 20ed351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ The following methods will call `s.string` with additional constraints added:
```
* s.regexString
```javascript
const schema = s.emailString();
const schema = s.regexString();
s.parse(schema, '.+?'); // 'https://example.com'
s.parse(schema, '+++'); // ERROR
```
Expand Down

0 comments on commit 20ed351

Please sign in to comment.