Commit d725d867 authored by Antonio Rojas's avatar Antonio Rojas
Browse files

Fix underlining files with non-ascii names

Expand the regexp to match all unicode alphanumeric characters

BUG: 424404
parent bdf16fd4
......@@ -593,7 +593,7 @@ FileFilter::FileFilter(Session *session) :
*/
QLatin1String("'[^']+'") // Matches everything between single quotes.
+ QStringLiteral(R"RX(|"[^"]+")RX") // Matches everything inside double quotes
+ QStringLiteral(R"RX(|[\w%1]+)RX").arg(wordCharacters) // matches a contiguous line of alphanumeric characters plus some special ones defined in the profile.
+ QStringLiteral(R"RX(|[\p{L}\w%1]+)RX").arg(wordCharacters) // matches a contiguous line of alphanumeric characters plus some special ones defined in the profile.
,
QRegularExpression::DontCaptureOption);
setRegExp(re);
......
  • Hi, the normal practice is to commit to master and cherry-pick to release branch. You'll need to put this in master.

    You could also add FIXED-IN: 20.08 and I've been adding !186 (merged) as well for reference

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