check if the string input is a hexadecimal number
input
bool isHexadecimal(String input) { return _regExp.hasMatch(input); }