From 57dde9f146f6eb732273d07e1247abdbb2b4ed37 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 21 May 2020 16:57:30 +0200 Subject: [PATCH] Add slash to the regexp The regexp missed files with a '-' --- src/Filter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Filter.cpp b/src/Filter.cpp index aa3ba140..576c2450 100644 --- a/src/Filter.cpp +++ b/src/Filter.cpp @@ -538,7 +538,7 @@ FileFilter::FileFilter(Session *session) : * on the HotSpot creation we verify if this is indeed a file, so there's * no problem on testing on random words on the screen. */ - QLatin1String(R"('[^']+'|"[^"]+"|[\w.~:]+)"), + QLatin1String(R"('[^']+'|"[^"]+"|[\w.~:-]+)"), QRegularExpression::DontCaptureOption); setRegExp(re); }