Fix regex for hex numbers