Skip to content

Commit 5d0462a

Browse files
authored
Adds the digit() method.
1 parent ca7498b commit 5d0462a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

typings/verbalexpression.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ interface VerbalExpression extends RegExp {
3333
tab(): VerbalExpression;
3434
/** Add expression to match a word */
3535
word(): VerbalExpression;
36-
/** Add expression to match a tab character */
36+
/** Add expression to match a digit */
37+
digit(): VerbalExpression;
38+
/** Add expression to match a whitespace character */
3739
whitespace(): VerbalExpression;
3840
/** Match any of the provided values */
3941
anyOf(value: string): VerbalExpression;

0 commit comments

Comments
 (0)