I was wondering whether I could use a negative voltage regulator, specifically a 7905, as a drop-in replacement for a positive one, 7805.
On closer inspection of the datasheet, I realized that pin 1 is the most positive, pin 2 is the most negative, and pin 3 is somewhere in between.
P.S. Worst-case scenario I can simply do a quick and dirty DIY regulator with a zener, op-amp, and a transistor.