Commit df7fb7cd authored by Tomaz  Canabrava's avatar Tomaz Canabrava Committed by Tomaz Canabrava
Browse files

Tilde (~) is a valid character for file names

Add tilde on the regexp
parent 86fd4058
......@@ -521,7 +521,7 @@ void FileFilter::HotSpot::activate(QObject *)
QString createFileRegex(const QStringList &patterns)
const QString filePattern = QStringLiteral(R"RG([A-Za-z0-9\._\-]+)RG");
const QString filePattern = QStringLiteral(R"RG([A-Za-z0-9\._\-~]+)RG");
const QString pathPattern QStringLiteral(R"RG(([A-Za-z0-9\._\-/]+/))RG");
QStringList suffixes = patterns.filter(QRegularExpression(QStringLiteral("^\\*") + filePattern + QStringLiteral("$")));
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