245 |
#define R_PERLRE 0x00000004 |
#define R_PERLRE 0x00000004 |
246 |
/* Other modifiers */ |
/* Other modifiers */ |
247 |
#define R_BASIC 0x00000010 |
#define R_BASIC 0x00000010 |
248 |
#define R_SCASE 0x00000012 |
#define R_SCASE 0x00000020 |
249 |
|
|
250 |
#define R_TYPEMASK 0x0000000f |
#define R_TYPEMASK 0x0000000f |
251 |
|
|
252 |
#define re_set_type(m,t) ((m) = ((m) & ~R_TYPEMASK) | ((m) & R_TYPEMASK)) |
#define re_set_type(m,t) ((m) = ((m) & ~R_TYPEMASK) | ((t) & R_TYPEMASK)) |
253 |
#define re_typeof(m) ((m) & R_TYPEMASK) |
#define re_typeof(m) ((m) & R_TYPEMASK) |
254 |
#define re_set_flag(m,f) ((m) |= (f)) |
#define re_set_flag(m,f) ((m) |= (f)) |
255 |
#define re_clear_flag(m,f) ((m) &= ~(f)) |
#define re_clear_flag(m,f) ((m) &= ~(f)) |
377 |
char *anubis_regex_source(RC_REGEX *); |
char *anubis_regex_source(RC_REGEX *); |
378 |
int anubis_regex_refcnt(RC_REGEX *); |
int anubis_regex_refcnt(RC_REGEX *); |
379 |
char *anubis_regex_replace(RC_REGEX *re, char *line, char *repl); |
char *anubis_regex_replace(RC_REGEX *re, char *line, char *repl); |
380 |
|
void anubis_regex_print(RC_REGEX *re); |
381 |
|
|
382 |
/* rc.c */ |
/* rc.c */ |
383 |
void rc_system_init(void); |
void rc_system_init(void); |