Kate
KateWildcardMatcher Namespace Reference
Functions | |
bool | exactMatch (const QString &candidate, const QString &wildcard, int candidatePosFromRight, int wildcardPosFromRight, bool caseSensitive=true) |
bool | exactMatch (const QString &candidate, const QString &wildcard, bool caseSensitive=true) |
Function Documentation
bool KateWildcardMatcher::exactMatch | ( | const QString & | candidate, |
const QString & | wildcard, | ||
int | candidatePosFromRight, | ||
int | wildcardPosFromRight, | ||
bool | caseSensitive = true |
||
) |
Definition at line 29 of file katewildcardmatcher.cpp.
bool KateWildcardMatcher::exactMatch | ( | const QString & | candidate, |
const QString & | wildcard, | ||
bool | caseSensitive = true |
||
) |
Matches a string against a given wildcard.
The wildcard supports '*' (".*" in regex) and '?' ("." in regex), not more.
- Parameters
-
candidate Text to match wildcard Wildcard to use caseSensitive Case-sensitivity flag
- Returns
- True for an exact match, false otherwise
Definition at line 80 of file katewildcardmatcher.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:57:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:57:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.