Calling setPatternOption invalidates QRegularExpression's internal cache and causes the pattern to be needlessly recompiled