• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Kate

Functions
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
candidateText to match
wildcardWildcard to use
caseSensitiveCase-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

KDE's Doxygen guidelines are available online.

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal