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.
mpyne | |
dfaure | |
apol |
Frameworks |
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.
make && ctest
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
There could be a ton more unittests, but OK, good enough since the old code didn't have more.
FRT, there's only one usage of perlSplit(QChar...), https://lxr.kde.org/source/kde/kdemultimedia/libkcddb/libkcddb/cdinfo.cpp#0313
nothing else uses any of the perlSplit() functions.