diff options
author | Mark Lumsden <lum@cvs.openbsd.org> | 2021-04-22 19:50:56 +0000 |
---|---|---|
committer | Mark Lumsden <lum@cvs.openbsd.org> | 2021-04-22 19:50:56 +0000 |
commit | 436d9e11a871cc61c332d4ed0828b0f4f246ca1f (patch) | |
tree | 07b2e3d6fb092b9ae8e1fb055ad26a20d14f050b /usr.bin/mg/def.h | |
parent | b9ecd1063263ccc7343f56e4c67eccabf06a96dd (diff) |
Add a non-interactive version of query-replace-regexp function called
replace-regexp. Unfortunately query-replace-regexp can't be used in a
startup file.
Diffstat (limited to 'usr.bin/mg/def.h')
-rw-r--r-- | usr.bin/mg/def.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h index f5102b840ac..ee32c06f127 100644 --- a/usr.bin/mg/def.h +++ b/usr.bin/mg/def.h @@ -1,4 +1,4 @@ -/* $OpenBSD: def.h,v 1.172 2021/04/20 10:02:50 lum Exp $ */ +/* $OpenBSD: def.h,v 1.173 2021/04/22 19:50:55 lum Exp $ */ /* This file is in the public domain. */ @@ -673,6 +673,7 @@ int re_forwsearch(int, int); int re_backsearch(int, int); int re_searchagain(int, int); int re_queryrepl(int, int); +int re_repl(int, int); int replstr(int, int); int setcasefold(int, int); int delmatchlines(int, int); |