YAZ
5.34.0
|
Glob expression matcher. More...
#include <yaz/yconfig.h>
Go to the source code of this file.
Functions | |
int | yaz_match_glob (const char *glob, const char *text) |
matches a glob expression against text More... | |
int | yaz_match_glob2 (const char *glob, const char *text, int case_insensitive) |
matches a glob expression against text More... | |
Glob expression matcher.
Definition in file match_glob.h.
int yaz_match_glob | ( | const char * | glob, |
const char * | text | ||
) |
matches a glob expression against text
glob | glob expression |
text | the text |
0 | no match |
1 | match |
Operators: c (literal char), ? (any char), (any number of any char) (zero or more)
Definition at line 22 of file match_glob.c.
References yaz_match_glob2().
Referenced by glob_r(), and z_soap_codec_enc_xsl().
int yaz_match_glob2 | ( | const char * | glob, |
const char * | text, | ||
int | case_insensitive | ||
) |
matches a glob expression against text
glob | glob expression |
text | the text |
case_insensitive | 1=case does not matter; 0=case matters |
0 | no match |
1 | match |
Operators: c (literal char), ? (any char), (any number of any char) (zero or more)
Definition at line 27 of file match_glob.c.
Referenced by yaz_match_glob(), and yaz_retrieval_request().