Revert "No need calling isxdigit when we have our own lookup table." This reverts commit 1c6fbc0240147c5404f31fe20309ef913782add8.