|
void | ADVANCE (const Pattern_t *&pat) |
| Advance a pointer into the pattern template to the next pattern element, this is a+1 for all pattern elements but kCCL, where you have to skip past both the kCCL character and the bitmap that follows that character. More...
|
|
static const char * | doccl (Pattern_t *map, const char *src) |
| Set bits in the map corresponding to characters specified in the src character class. More...
|
|
static int | esc (const char **s) |
| Map escape sequences into their equivalent symbols. More...
|
|
static int | hex2bin (int c) |
| Convert the hex digit represented by 'c' to an int. More...
|
|
int | Makepat (const char *exp, Pattern_t *pat, int maxpat) |
| Make a pattern template from the string pointed to by exp. More...
|
|
const char * | Matchs (const char *str, size_t slen, const Pattern_t *pat, const char **startpat) |
| Match a string with a pattern. More...
|
|
static int | oct2bin (int c) |
| Convert the hex digit represented by 'c' to an int. More...
|
|
static int | omatch (const char **strp, size_t *slenp, const Pattern_t *pat, const char *start) |
| Match one pattern element, pointed at by pat, against the character at **strp. More...
|
|
static const char * | patcmp (const char *str, size_t slen, const Pattern_t *pat, const char *start) |
| Like strcmp, but compares str against pat. More...
|
|
static void | SETBIT (unsigned char b, Pattern_t *map) |
|
static int | TSTBIT (unsigned char b, const Pattern_t *map) |
|