]> git.sur5r.net Git - i3/i3/blobdiff - include/regex.h
Merge branch 'master' into next
[i3/i3] / include / regex.h
index adfa665635e9879ce7f8521f6cf17341f3230862..e11d377e453ae7d8ddb7db83ce383d62414de226 100644 (file)
@@ -1,9 +1,13 @@
 /*
  * 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
+#pragma once
 
 /**
  * Creates a new 'regex' struct containing the given pattern and a PCRE
@@ -26,9 +30,7 @@ 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
- * be visible without any debug loglevel.
+ * be visible without debug logging.
  *
  */
 bool regex_matches(struct regex *regex, const char *input);
-
-#endif