qt6: wildcardmatcher: use correct option for QRegularExpression::wildcardToRegularExpression()
Tá an tiomantas seo le fáil i:
tuismitheoir
09ae06532d
tiomantas
552f058370
@ -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);
|
||||
}
|
||||
}
|
||||
|
Á lódáil...
x
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir