Strip off version numbers from dir name
[dockapps.git] / wmbiff / wmbiff / regulo.h
blob4bce791ac363cf90c9be88823df801733e53fcfe
1 /* $Id: regulo.h,v 1.2 2003/03/02 02:17:14 bluehal Exp $ */
2 /* regulo, (pronounced as if the name of a super-hero) added
3 by Neil Spring to provide a portable interface to regular
4 expressions that doesn't suck. */
6 void regulo_atoi(void *dest_int, const char *source);
7 void regulo_strcpy(void *dest, const char *source);
8 void regulo_strcpy_tolower(void *dest, const char *source);
9 void regulo_strcpy_skip1(void *dest, const char *source);
10 struct regulo {
11 int match_index;
12 void *destination;
13 void (*match_handler) (void *dest, const char *source);
16 int regulo_match(const char *regex,
17 const char *string, const struct regulo *instructions);