Effect of the solvent on enzyme regioselectivity