HomePhabricator

qt: Replace QRegExp with QRegularExpression

Description

qt: Replace QRegExp with QRegularExpression

Summary:

qt: Add a function that extracts the suffix from a filter

Extract the 'Extract first suffix from filter pattern...'
functionality into a testable utility function

qt: Replace QRegExp with QRegularExpression

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
Co-authored-by: Jarol Rodriguez <jarolrod@tutanota.com>

test, qt: Add tests for GUIUtil::extractFirstSuffixFromFilter

This is a backport of core-gui#620
Depends on D18177

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D18178

Details

Provenance
w0xlt <94266259+w0xlt@users.noreply.github.com>Authored on Jun 21 2022, 21:53
PiRKCommitted on Jun 2 2025, 09:21
PiRKPushed on Jun 2 2025, 09:21
Reviewer
Restricted Project
Differential Revision
D18178: qt: Replace QRegExp with QRegularExpression
Parents
rABC8b29bd47a6f4: qt: Use QRegularExpression in AddressBookSortFilterProxyModel class
Branches
Unknown
Tags
Unknown