Today I learned you can change the casing of matched groups when doing a search & replace in VS Code with regex.
The only way to learn mathematics is to do mathematics.