Albert
Loading...
Searching...
No Matches
matchconfig.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2024 Manuel Schneider
2
// SPDX-License-Identifier: MIT
3
4
#pragma once
5
#include <albert/export.h>
6
#include <QRegularExpression>
7
8
namespace
albert
9
{
10
16
class
ALBERT_EXPORT
MatchConfig
17
{
18
public
:
22
QRegularExpression separator_regex =
23
// QRegularExpression(R"([\s\\\/\-\[\](){}#!?<>"'=+*.:,;_]+)");
24
// make doxygen happy
25
QRegularExpression(
"([\\s\\\\/\\-\\[\\](){}#!?<>\"'=+*.:,;_]+)"
);
26
30
bool
ignore_case =
true
;
31
35
bool
ignore_diacritics =
true
;
36
40
bool
ignore_word_order =
true
;
41
45
bool
fuzzy =
false
;
46
52
static
const
uint error_tolerance_divisor = 4;
53
};
54
55
}
albert::MatchConfig
Configuration for string matching.
Definition
matchconfig.h:17
albert
Definition
action.h:10
workspace
albert
include
albert
matchconfig.h
Generated by
1.9.8