CharacterClass.digits constructor

const CharacterClass.digits({
  1. bool negated = false,
})

Matches numeric characters 0-9. Represented as \d (negated: \D).

Implementation

const CharacterClass.digits({this.negated = false,}): symbol = "\\d";