diff -r 49fa681f3a7e -r be2084398c37 src/regex_parser.h --- a/src/regex_parser.h Fri Jun 03 18:13:46 2022 +0200 +++ b/src/regex_parser.h Fri Jun 03 20:05:15 2022 +0200 @@ -27,7 +27,7 @@ #ifndef REGEX_PARSER_H_ #define REGEX_PARSER_H_ -#define REGEX_MAX_LINELENGTH 2048 +#define MAX_LINELENGTH 4096u #include #include @@ -40,7 +40,8 @@ size_t compiled_pattern_count; unsigned int pattern_match; /* save position of end pattern to match - NULL when a start pattern shall match first */ - unsigned int matched_lines; + unsigned int matched_counted; + bool count_chars; } regex_parser_t; #ifdef _cplusplus