11 lines
162 B
C
11 lines
162 B
C
|
|
#define PCRE2_CODE_UNIT_WIDTH 8
|
|
#include "pcre2.h"
|
|
|
|
#include "pbuf.h"
|
|
|
|
typedef struct {
|
|
pcre2_code* regexp;
|
|
pbuf_t results;
|
|
} regexp_matcher_t;
|
|
|