D26657: Add perlSplit() overload taking a QRegularExpression and deprecate the QRegExp one
Ahmad Samir
noreply at phabricator.kde.org
Tue Jan 14 11:32:57 GMT 2020
ahmadsamir created this revision.
ahmadsamir added reviewers: Frameworks, mpyne, dfaure, apol.
Herald added a project: Frameworks.
ahmadsamir requested review of this revision.
REVISION SUMMARY
This adds a perlSplit() overload that takes a QRegularExpression
parameter, and also deprecates the version that took a QRegExp param.
For both functions, return early if the string to be split is empty.
TEST PLAN
make && ctest
REPOSITORY
R244 KCoreAddons
BRANCH
l-perlsplit (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D26657
AFFECTED FILES
autotests/kstringhandlertest.cpp
src/lib/CMakeLists.txt
src/lib/text/kstringhandler.cpp
src/lib/text/kstringhandler.h
To: ahmadsamir, #frameworks, mpyne, dfaure, 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/20200114/f55b01b8/attachment.html>
More information about the Kde-frameworks-devel
mailing list