diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index bf342a6..82bf68b 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -544,7 +544,7 @@ void MainWindow::makePreviews(int page) scaleText.chop(1); QVector wordsToHighlight; - QRegularExpression extractor(R"#("([^"]*)"|(\p{L}+))#"); + QRegularExpression extractor(R"#("([^"]*)"|((\p{L}|\p{N})+))#"); for(const Token &token : this->contentSearchQuery.getTokens()) { if(token.type == FILTER_CONTENT_CONTAINS)