So l3regex
doesn't work like I'd expect, and it looks like fixing the whole "all spaces disappear" thing will take some programming chops because the one example I've found of how to fix it doesn't seem to work and I can't figure out why.
This is going to be a theme for LaTeX and I kinda hate it. I want reliable regex-based formatting without having to hire a programmer.
But I fucking well will hire a programmer if that's what it takes. I need this.
LaTeX woes – resolved for now!
I got it working! At least, it's working for my initial test case. We'll see how it holds up, but... I got it working!