D26177: Port QRegExp to QRegularExpression

Ahmad Samir noreply at phabricator.kde.org
Mon Dec 23 09:35:40 GMT 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191223/bc336bd5/attachment.html>


More information about the Kde-frameworks-devel mailing list