#ifndef REGSUB_H
#define REGSUB_H
-#include <pcre.h>
+#include "regexp.h"
#define REGSUB_GLOBAL 0x0001 /* global replace */
#define REGSUB_MUST_MATCH 0x0002 /* return 0 if no match */
int regsub_compile_options(unsigned flags);
/* convert compile-time options */
-const char *regsub(const pcre *re, const char *subject, const char *replace,
- unsigned flags);
+const char *regsub(const regexp *re, const char *subject,
+ const char *replace, unsigned flags);
#endif /* REGSUB_H */