This is mostly so that we don't #include <regex> everywhere (which adds quite a bit of compilation time).