Difference between regulator's tab and pin?
I think the explanation behind this is interesting as well.

Basically, the exposed tab and the middle leg is generally the same piece of metal.
Basically the tab and middle leg are formed from a single piece of bent metal. Therefore, the tab literally is the middle pin, and you can use it as such. It may even have a (marginally) lower inductance.


Image borrowed from ESP