]> git.sur5r.net Git - i3/i3/blobdiff - include/regex.h
Merge branch 'v4-keywords'
[i3/i3] / include / regex.h
index 2a6608a80837652cadf9d99dbc6067b12b2f81a5..d55bb6cba19869af8d4cc16eb9f650752a7436db 100644 (file)
@@ -1,6 +1,11 @@
 /*
  * vim:ts=4:sw=4:expandtab
  *
+ * i3 - an improved dynamic tiling window manager
+ * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
+ *
+ * regex.c: Interface to libPCRE (perl compatible regular expressions).
+ *
  */
 #ifndef _REGEX_H
 #define _REGEX_H
  */
 struct regex *regex_new(const char *pattern);
 
+/**
+ * Frees the given regular expression. It must not be used afterwards!
+ *
+ */
+void regex_free(struct regex *regex);
+
 /**
  * Checks if the given regular expression matches the given input and returns
  * true if it does. In either case, it logs the outcome using LOG(), so it will