From 6f88589690e3c09d757c5868fbfd86cc5bf3841b Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Tue, 4 Oct 2022 17:40:48 +0200 Subject: [PATCH] fix: make parsing friendlier Signed-off-by: Sefa Eyeoglu --- launcher/ui/instanceview/InstanceTableProxyModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/ui/instanceview/InstanceTableProxyModel.cpp b/launcher/ui/instanceview/InstanceTableProxyModel.cpp index 955dc0ca9..371a4fd14 100644 --- a/launcher/ui/instanceview/InstanceTableProxyModel.cpp +++ b/launcher/ui/instanceview/InstanceTableProxyModel.cpp @@ -113,7 +113,7 @@ bool InstanceTableProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex& QList InstanceTableProxyModel::parseFilterQuery(QString query) { - const QRegularExpression pattern = QRegularExpression("(?:(?\\w+):)?(?:(?\\w+)|\"(?.+)\")"); + const QRegularExpression pattern = QRegularExpression("(?:(?\\S+):)?(?:(?\\S+)|\"(?.+)\")"); QList queries; QRegularExpressionMatchIterator it = pattern.globalMatch(query);