Commit 57dde9f1 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Add slash to the regexp

The regexp missed files with a '-'
parent 9c18672e
...@@ -538,7 +538,7 @@ FileFilter::FileFilter(Session *session) : ...@@ -538,7 +538,7 @@ FileFilter::FileFilter(Session *session) :
* on the HotSpot creation we verify if this is indeed a file, so there's * 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. * no problem on testing on random words on the screen.
*/ */
QLatin1String(R"('[^']+'|"[^"]+"|[\w.~:]+)"), QLatin1String(R"('[^']+'|"[^"]+"|[\w.~:-]+)"),
QRegularExpression::DontCaptureOption); QRegularExpression::DontCaptureOption);
setRegExp(re); setRegExp(re);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment