Improve regular expression to support non ASCII letters.
--HG-- branch : develop
This commit is contained in:
parent
f648860c69
commit
842d21016e
|
@ -40,7 +40,7 @@
|
||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
#include <QRegularExpression>
|
#include <QRegularExpression>
|
||||||
|
|
||||||
const QString baseFilenameRegExp = QStringLiteral("^[\\w\\-. ]+$");
|
const QString baseFilenameRegExp = QStringLiteral("^[\\p{L}\\p{Nd}\\-. _]+$");
|
||||||
|
|
||||||
bool DialogSaveLayout::havePdf = false;
|
bool DialogSaveLayout::havePdf = false;
|
||||||
bool DialogSaveLayout::tested = false;
|
bool DialogSaveLayout::tested = false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user