X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/812b526d127c6657e571db8b33a58137af6709cd..refs/heads/master:/lib/regsub.h diff --git a/lib/regsub.h b/lib/regsub.h index 1a5aa43..1c9afc7 100644 --- a/lib/regsub.h +++ b/lib/regsub.h @@ -21,7 +21,7 @@ #ifndef REGSUB_H #define REGSUB_H -#include +#include "regexp.h" #define REGSUB_GLOBAL 0x0001 /* global replace */ #define REGSUB_MUST_MATCH 0x0002 /* return 0 if no match */ @@ -34,8 +34,8 @@ unsigned regsub_flags(const char *flags); 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 */