check if the string stris a hexadecimal number
str
bool isHexadecimal(String str) => _hexadecimal.hasMatch(str);