The TIL series of articles contains very short articles documenting something I learned “today”.
Today I learned you can change the casing of matched groups when doing a search & replace in VS Code with regex.
Today I learned how to use \b
and \B
to match prefixes and suffixes with regex.
Today I learned how I can use the method 'groupdict' from a regex match to get a dictionary with all named groups.