diff options
author | Camil Staps | 2016-03-21 19:31:24 +0100 |
---|---|---|
committer | Camil Staps | 2016-03-21 19:42:59 +0100 |
commit | 58ea61a19cb9bd0f6c600ebbb643e209fdf9d7cb (patch) | |
tree | 864264245f5f1ec8d8af0162830afd9bb5a63473 /regex.h | |
parent | Initial commit (diff) |
Matching works
Diffstat (limited to 'regex.h')
-rw-r--r-- | regex.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +#define PCRE2_CODE_UNIT_WIDTH 8 + +#include <inttypes.h> +#include <pcre2.h> +#include <stdlib.h> +#include "Clean.h" + +pcre2_code* cleanregex_pcre2_compile(CleanString*, int64_t flags); +int64_t cleanregex_match(pcre2_code* regex, CleanString* subject); + |