in reply to hex-only regex

Neither of the regexes matches an empty string. Other than that, I don't see any immediate problems.