D26194: Port QRegExp to QRegularExpression

Aleix Pol Gonzalez noreply at phabricator.kde.org
Mon Dec 23 18:04:02 GMT 2019


apol added a comment.


  LGTM otherwise

INLINE COMMENTS

> runnercontext.cpp:575
>      for (const QString& entry : cfgList) {
> -        r.indexIn(entry);
> -        int count = r.cap(1).toInt();
> -        QString id = r.cap(2);
> +        QRegularExpressionMatch match = re.match(entry);
> +        if (!match.hasMatch()) {

const

REPOSITORY
  R308 KRunner

REVISION DETAIL
  https://phabricator.kde.org/D26194

To: ahmadsamir, #plasma, davidedmundson, 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/5ec90e4d/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list