mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Correct regex escape logic
* Fixes #7776 Implement QRegularExpression::escape within Tools::convertToRegex to allow usage on older Qt versions. Also wrap EXACT_MODIFIER patterns in a non-capture group to prevent misinterpreted regex.
This commit is contained in:
committed by
Jonathan White
parent
924eb6dbc4
commit
e16c007d43
@@ -31,6 +31,8 @@ private slots:
|
||||
void testValidUuid();
|
||||
void testBackupFilePatternSubstitution_data();
|
||||
void testBackupFilePatternSubstitution();
|
||||
void testEscapeRegex();
|
||||
void testEscapeRegex_data();
|
||||
void testConvertToRegex();
|
||||
void testConvertToRegex_data();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user