It turns out that QRegularExpression::wildcardToRegularExpression() returns
an anchored (with \A and \z) pattern, so using anchoredPattern() in such
cases would actually anchor the pattern twice, which is obviously wrong.
Thanks to Mikołaj Płomieński (blaze) for catching it in
https://phabricator.kde.org/D26205#594891
Details
Details
- Reviewers
apol dfaure - Group Reviewers
Frameworks - Commits
- R311:d4980443755f: Fix QRegularExpression::wildcardToRegularExpression() usage
make && ctest
Diff Detail
Diff Detail
- Repository
- R311 KWallet
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.