hasDigit property

RegExp hasDigit
final

Contains at least one digit

Implementation

static final RegExp hasDigit = RegExp(r'\d');