Design
wildcard.txt
Associated article: Matching Wildcards: An Algorithm
Tags: Database .NET C/C++ Parallel Design
Published source code accompanying the article by Kirk J. Krauss in which he presents an elegant wildcard string matching algorithm that you'll find efficient and useful
Matching Wildcards: An Algorithm
by Kirk J. Krauss
// This function compares text strings, one of which can have wildcards ('*').
//
BOOL GeneralTextCompare(
char * pTameText, // A string without wildcards
char * pWildText, // A (potentially) corresponding string with wildcards
BOOL bCaseSensitive = FALSE, // ...


