HEXNUM regex improvement