summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/regex_replace.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-05-13 11:04:11 +0200
committerTyge Løvset <[email protected]>2023-05-13 11:04:11 +0200
commitbe7d9913d4a284bdeb7f0431482b5731b5ef31df (patch)
tree92ab761056a60961827b0025768bad9870fbc24c /misc/examples/regex_replace.c
parent98d131bfc1bcc8b82cb27b30ad6da176d1fed117 (diff)
downloadSTC-modified-be7d9913d4a284bdeb7f0431482b5731b5ef31df.tar.gz
STC-modified-be7d9913d4a284bdeb7f0431482b5731b5ef31df.zip
File priv/raii.h no longer included by stc/ccommon.h, instead moved to stc/algo/raii.h and included by stc/calgo.h
Diffstat (limited to 'misc/examples/regex_replace.c')
-rw-r--r--misc/examples/regex_replace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/examples/regex_replace.c b/misc/examples/regex_replace.c
index d3952f50..cad195d5 100644
--- a/misc/examples/regex_replace.c
+++ b/misc/examples/regex_replace.c
@@ -1,6 +1,7 @@
#define i_extern
#include <stc/cregex.h>
#include <stc/csview.h>
+#include <stc/algo/raii.h>
bool add_10_years(int i, csview match, cstr* out) {
if (i == 1) { // group 1 matches year