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
- R495:ce27c7cf1121: Fix QRegularExpression::wildcardToRegularExpression() usage
make && ctest
Diff Detail
Diff Detail
- Repository
- R495 Purpose Library
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.