src/regex_parser.h

changeset 92
51270d470cda
parent 76
d11c154e33e1
equal deleted inserted replaced
91:d34797fcf600 92:51270d470cda
39 #include <regex.h> 39 #include <regex.h>
40 #endif 40 #endif
41 41
42 typedef struct { 42 typedef struct {
43 string_list_t* pattern_list; /* even entries: start ; odd entries: end */ 43 string_list_t* pattern_list; /* even entries: start ; odd entries: end */
44 regex_t** compiled_patterns; 44 regex_t* compiled_patterns;
45 size_t compiled_pattern_count; 45 size_t compiled_pattern_count;
46 unsigned int pattern_match; /* save position of end pattern to match - 46 unsigned int pattern_match; /* save position of end pattern to match -
47 NULL when a start pattern shall match first */ 47 NULL when a start pattern shall match first */
48 unsigned int matched_counted; 48 unsigned int matched_counted;
49 bool count_chars; 49 bool count_chars;

mercurial