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

Šī revīzija ir iekļauta:
Albert S. 2024-05-23 18:13:30 +02:00
vecāks 09ae06532d
revīzija 552f058370

Parādīt failu

@ -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);
}
}