#include <sys/types.h>
#include <regex.h>
Go to the source code of this file.
Classes | |
class | base_pattern |
class | basic_text_pattern< pcomp, pfree, pmatch > |
Typedefs | |
typedef void *(* | p_compile )(const char *pattern, bool ignore_case) |
typedef void(* | p_free )(void *cp) |
typedef bool(* | p_match )(void *compiled_pattern, const char *text, int length) |
typedef basic_text_pattern < compile_pattern, free_compiled_pattern, pattern_match > | text_pattern |
typedef basic_text_pattern < compile_glob_pattern, free_compiled_glob_pattern, glob_pattern_match > | glob_pattern |
Functions | |
void * | compile_pattern (const char *pattern, bool ignore_case=false) |
void | free_compiled_pattern (void *cp) |
bool | pattern_match (void *compiled_pattern, const char *text, int length) |
void * | compile_glob_pattern (const char *pattern, bool ignore_case=false) |
void | free_compiled_glob_pattern (void *cp) |
bool | glob_pattern_match (void *compiled_pattern, const char *text, int length) |
typedef basic_text_pattern<compile_glob_pattern, free_compiled_glob_pattern, glob_pattern_match> glob_pattern |
typedef void*(* p_compile)(const char *pattern, bool ignore_case) |
typedef void(* p_free)(void *cp) |
typedef bool(* p_match)(void *compiled_pattern, const char *text, int length) |
typedef basic_text_pattern<compile_pattern, free_compiled_pattern, pattern_match> text_pattern |
void* compile_glob_pattern | ( | const char * | pattern, | |
bool | ignore_case = false | |||
) |
void* compile_pattern | ( | const char * | pattern, | |
bool | ignore_case = false | |||
) |
void free_compiled_glob_pattern | ( | void * | cp | ) |
void free_compiled_pattern | ( | void * | cp | ) |
bool glob_pattern_match | ( | void * | compiled_pattern, | |
const char * | text, | |||
int | length | |||
) |
bool pattern_match | ( | void * | compiled_pattern, | |
const char * | text, | |||
int | length | |||
) |