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