All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Classes
regeng.h File Reference
#include <pcreposix.h>

Go to the source code of this file.

Classes

struct  regeng
 
#define RE_MATCH(x)   (((x).rm_so != -1) && ((x).rm_eo != -1))
 
#define RE_INVALID_ID   0xffffffff
 
#define RE_REMATCH_MAX   32
 
#define RE_REGENG_VALID(x)
 
#define RE_REGENG_END   { .re_id = RE_INVALID_ID, .re_exp = NULL }
 
typedef void re_callback_t (uint32_t re_id, const char *str, regmatch_t *rematch, size_t rematch_max)
 
bool re_init (struct regeng *re_array)
 
bool re_parse (re_callback_t re_callback, struct regeng *re_array, char *str)
 
void re_strlcpy (char *outstr, const char *instr, size_t outsz, regmatch_t rem)
 
size_t re_strlen (regmatch_t rem)
 

Detailed Description

The Regular Expression Engine

Author
Mitja Horvat pinkf.nosp@m.luid.nosp@m.@gmai.nosp@m.l.co.nosp@m.m