It's expensive to compile QRegExp, so construct classes at config loading