aboutsummaryrefslogtreecommitdiff
path: root/regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'regex.h')
-rw-r--r--regex.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/regex.h b/regex.h
new file mode 100644
index 0000000..af8e0a2
--- /dev/null
+++ b/regex.h
@@ -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);
+