YAZ  5.23.1
match_glob.c File Reference

Glob expression match. More...

#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <yaz/xmalloc.h>
#include <yaz/wrbuf.h>
#include <yaz/match_glob.h>

Go to the source code of this file.


int yaz_match_glob (const char *glob, const char *text)
 matches a glob expression against text More...

Detailed Description

Glob expression match.

Definition in file match_glob.c.

Function Documentation

int yaz_match_glob ( const char *  glob,
const char *  text 

matches a glob expression against text

globglob expression
textthe text
Return values
0no match

Operators: c (literal char), ? (any char), (any number of any char) (zero or more)

Definition at line 21 of file match_glob.c.

References yaz_match_glob().

Referenced by glob_r(), yaz_match_glob(), yaz_retrieval_request(), and z_soap_codec_enc_xsl().