qt6: wildcardmatcher: use correct option for QRegularExpression::wildcardToRegularExpression()

这个提交包含在:
Albert S. 2024-05-23 18:13:30 +02:00
父节点 6640504b49
当前提交 cfc64705e3

查看文件

@ -6,7 +6,7 @@ void WildcardMatcher::setPatterns(QStringList patterns)
for(QString &str : patterns)
{
QRegularExpression regexp;
regexp.setPattern(QRegularExpression::wildcardToRegularExpression(str));
regexp.setPattern(QRegularExpression::wildcardToRegularExpression(str, QRegularExpression::UnanchoredWildcardConversion));
this->regexes.append(regexp);
}
}