fixed bug that prevented using hex literals, (eg. 0xF), because it attempted
to replace 'x' with an asterix. Also, I just noticed that binary input
is broken. Hex isn't. Need to fix that.