.format doesn't work well with regexes