Variable digitConst

digit: RegExpToken = r.digit

Match a character between 0 to 9.

Example

digit

RegExp equivalent:

/\d/

Example

Negated token

not.digit
not(digit)

RegExp equivalent:

/\D/

Generated using TypeDoc