i3
include/regex.h
Go to the documentation of this file.
00001 /*
00002  * vim:ts=4:sw=4:expandtab
00003  *
00004  * i3 - an improved dynamic tiling window manager
00005  * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
00006  *
00007  * regex.c: Interface to libPCRE (perl compatible regular expressions).
00008  *
00009  */
00010 #ifndef _REGEX_H
00011 #define _REGEX_H
00012 
00023 struct regex *regex_new(const char *pattern);
00024 
00029 void regex_free(struct regex *regex);
00030 
00037 bool regex_matches(struct regex *regex, const char *input);
00038 
00039 #endif