chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/disorder
[disorder]
/
lib
/
regsub.h
diff --git
a/lib/regsub.h
b/lib/regsub.h
index 1a5aa4341e158ebc1afed57519be7cd05577ad0e..1c9afc71710327a27493f55e3ccee0bd76af5189 100644
(file)
--- a/
lib/regsub.h
+++ b/
lib/regsub.h
@@
-21,7
+21,7
@@
#ifndef REGSUB_H
#define REGSUB_H
#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 */
#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 */
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 */
#endif /* REGSUB_H */