mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Don't use helper function to avoid raising the Qt5 min version requeriment
This commit is contained in:
parent
8207f75297
commit
d47bd55fa0
@ -1002,7 +1002,7 @@ QString get_most_common_prefix(const QList<QString> &pageNames)
|
||||
}
|
||||
}
|
||||
|
||||
QRegularExpression allNumberRegExp(QRegularExpression::anchoredPattern("\\d+"));
|
||||
QRegularExpression allNumberRegExp("\\A\\d+\\z");
|
||||
if (allNumberRegExp.match(common_prefix).hasMatch()) {
|
||||
return "";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user