]> mj.ucw.cz Git - eval.git/blob - ucw/regex.h
Isolate: Box setup split to several functions
[eval.git] / ucw / regex.h
1 /*
2  *      UCW Library -- Interface to Regular Expression Libraries
3  *
4  *      (c) 1997--2004 Martin Mares <mj@ucw.cz>
5  *      (c) 2001 Robert Spalek <robert@ucw.cz>
6  *
7  *      This software may be freely distributed and used according to the terms
8  *      of the GNU Lesser General Public License.
9  */
10
11 #ifndef _UCW_REGEX_H
12 #define _UCW_REGEX_H
13
14 typedef struct regex regex;
15
16 regex *rx_compile(const char *r, int icase);
17 void rx_free(regex *r);
18 int rx_match(regex *r, const char *s);
19 int rx_subst(regex *r, const char *by, const char *src, char *dest, uns destlen);
20
21 #endif