summaryrefslogtreecommitdiff
path: root/plugins/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/regex.c')
-rw-r--r--plugins/regex.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/regex.c b/plugins/regex.c
index fb63986..a207832 100644
--- a/plugins/regex.c
+++ b/plugins/regex.c
@@ -224,3 +224,8 @@ static void emit_match_logic(const char *pattern, FILE *out)
}
ZPlugin regex_plugin = {.name = "regex", .fn = regex_transpile};
+
+ZPlugin *z_plugin_init(void)
+{
+ return &regex_plugin;
+}