5#include <PhosphorShellLauncher/phosphorshelllauncher_export.h>
49 [[nodiscard]]
static std::optional<FuzzyMatch>
match(QStringView pattern, QStringView candidate,
50 bool caseSensitive =
false);
Definition FuzzyMatcher.h:40
static constexpr int ScoreGapStart
Definition FuzzyMatcher.h:64
static constexpr int BonusCamel123
Definition FuzzyMatcher.h:68
static bool patternIsCaseSensitive(QStringView pattern)
fzf's smart case, as a decision a caller can make in one line.
static constexpr int BonusBoundaryDelimiter
Definition FuzzyMatcher.h:72
static constexpr int BonusNonWord
Definition FuzzyMatcher.h:67
static constexpr int ScoreMatch
Definition FuzzyMatcher.h:63
static std::optional< FuzzyMatch > match(QStringView pattern, QStringView candidate, bool caseSensitive=false)
static constexpr int ScoreGapExtension
Definition FuzzyMatcher.h:65
static constexpr int BonusBoundaryWhite
Definition FuzzyMatcher.h:71
static constexpr int BonusFirstCharMultiplier
Definition FuzzyMatcher.h:70
static constexpr int BonusConsecutive
Definition FuzzyMatcher.h:69
static constexpr int BonusBoundary
Definition FuzzyMatcher.h:66
static int perfectScore(int length)
Definition AppsProvider.h:19
Definition FuzzyMatcher.h:16
QList< int > positions
Definition FuzzyMatcher.h:23
int score
Definition FuzzyMatcher.h:20