proper hex regexp