regExp static method
Validates the input against a regular expression
ask('Variable Name:', validator: Ask.regExp(r'^[a-zA-Z_]+$'));
Implementation
static AskValidator regExp(String regExp, {String? error}) =>
_AskRegExp(regExp, error: error);