I am trying to evaluate this limit as follows, $$\lim_{x\to 2^+} (x-2)^{x^2-4} = e^{\lim_{x\to 2^+} x^2-4 \cdot \ln(x-2)}$$
Aside, we can apply L'Hospital to the limit in the exponent by rearranging to form $\frac{-\infty}{\infty}$: $$\lim_{x\to 2^+} \frac{\ln(x-2)}{\frac{1}{x^2-4}} = \lim_{x\to 2^+}\frac{\frac{1}{x-2}}{\frac{2x}{(x^2-4)^2}}$$
At this point I'm kind of lost as to what I should do. I tried rearranging the fraction and then simplifying as follows and applying L'Hospital again since we have $\frac{0}{0}$ $$=\lim_{x\to 2^+}\frac{(x^2-4)^2}{(x-2)(2x)} = \lim_{x\to 2^+}\frac{2(x^2-4)\cdot2x}{4x-4} =\frac{0}{4} =0 $$ I am supposed to get $1$ as the answer. I have a feeling I might be doing some sort of illegal manipulation, because I've somehow managed to make this limit equal to $4$ and $8$ as well using similiar techniques. What am I doing wrong?
Am I allowed to restructure the limit as I did after applying L'Hospital's rule once? If I keep it in the same fraction over another fraction form and apply L'Hospital's rule again, I get something even messier.