Albert
|
#include <albert/matchconfig.h>
Configuration for string matching.
Public Attributes | |
QRegularExpression | separator_regex |
The separator regex used to split the compared strings. | |
bool | ignore_case = true |
Match strings case insensitive. | |
bool | ignore_diacritics = true |
Match strings normalized. | |
bool | ignore_word_order = true |
Match strings independent of their order. | |
bool | fuzzy = false |
Match strings error tolerant. | |
Static Public Attributes | |
static const uint | error_tolerance_divisor = 4 |
The error tolerance. | |
|
static |
The error tolerance.
This hardcodes the error tolerance on enabled fuzzy
to 25%.
bool albert::MatchConfig::fuzzy = false |
Match strings error tolerant.
bool albert::MatchConfig::ignore_case = true |
Match strings case insensitive.
bool albert::MatchConfig::ignore_diacritics = true |
Match strings normalized.
bool albert::MatchConfig::ignore_word_order = true |
Match strings independent of their order.
QRegularExpression albert::MatchConfig::separator_regex |
The separator regex used to split the compared strings.