8#ifndef __NILOREA_PCRE_HELPERS__
9#define __NILOREA_PCRE_HELPERS__
char * regexp_str
original regexp string
int captured
flag for match_list cleaning
const char ** match_list
populated match list if nPcreCapMatch is called
int * ovector
list of indexes
int ovecount
configured maximum number of matched occurence
pcre_extra * extra
optimization if any
N_PCRE * npcre_new(char *str, int max_cap, int flags)
From pcre doc, the flag bits are: PCRE_ANCHORED Force pattern anchoring PCRE_AUTO_CALLOUT Compile aut...
int npcre_match(char *str, N_PCRE *pcre)
Return TRUE if str matches regexp, and make captures up to max_cap.
int npcre_clean_match(N_PCRE *pcre)
clean the match list of the last capture, if any
int npcre_delete(N_PCRE **pcre)
Free a N_PCRE pointer.