Skip to content

Commit

Permalink
fix: typo README (about excludeEmptyString) (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
vonagam authored and jquense committed Feb 2, 2019
1 parent c38bd23 commit d02ff5e
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 @@ -809,7 +809,7 @@ short circuits the regex test when the value is an empty string
var v = string().matches(/(hi|bye)/, { excludeEmptyString: true });
v.isValid('')
.should.eventually()
.equal(false);
.equal(true);
```

#### `string.email(message?: string | function): Schema`
Expand Down

0 comments on commit d02ff5e

Please sign in to comment.