ahmadsamir created this revision. ahmadsamir added reviewers: Frameworks, dfaure, ervin, apol. Herald added a project: Frameworks. ahmadsamir requested review of this revision.
REVISION SUMMARY Port QRegExp::exactMatch() by using QRegularExpression::anchoredPattern() to match the entire subject string. In filenameOnly(), QStringLiteral("[/\\]") is not a valid QRegExp or QRegularExpression pattern, change it to "[/\\\\]". TEST PLAN make && ctest REPOSITORY R237 KConfig BRANCH l-qregularexpression (branched from master) REVISION DETAIL https://phabricator.kde.org/D26177 AFFECTED FILES src/core/kauthorized.cpp src/kconfig_compiler/kconfig_compiler.cpp To: ahmadsamir, #frameworks, dfaure, ervin, apol Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns