Lets say I have: $$\lim _{x\to \:0^-}\left(e^{\frac{1}{x}}\right)$$
Is it allowed for me to do such a thing? $$\lim _{x\to 0^+}\left(e^{-\frac{1}{x}}\right)$$
or another example: $$\lim _{x\to -\infty }\left(e^{\frac{1}{x}}\right)$$ and change it to that limit: $$\lim _{x\to \infty }\left(e^{-\frac{1}{x}}\right)=\lim _{x\to \infty }\left(\frac{1}{e^{\frac{1}{x}}}\right)$$
Are the limit I wrote, is it allowed?