Interpret \xXX as hex and simplify parsing