returns true if input token is a null character (i.e. \x00)
static bool isNullChar(String token) => regExpNullChar.hasMatch(token);