regexUsername constant

String const regexUsername

must contain letters and numbers, 6 ~ 18. 必须包含字母和数字, 6~18.

Implementation

static const String regexUsername =
    '^(?![0-9]+\$)(?![a-zA-Z]+\$)[0-9A-Za-z]{6,18}\$';