qt6: wildcardmatcher: use correct option for QRegularExpression::wildcardToRegularExpression()
Šī revīzija ir iekļauta:
vecāks
6640504b49
revīzija
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);
|
||||
}
|
||||
}
|
||||
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā
Block a user