git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix non-WITH_CONTENT_SCAN build (2)
[exim.git]
/
src
/
src
/
regex.c
diff --git
a/src/src/regex.c
b/src/src/regex.c
index 3088f0066ae3559baa00190b1d14275a6daeae0e..25496f950db7d09debf46c15f902dda139965238 100644
(file)
--- a/
src/src/regex.c
+++ b/
src/src/regex.c
@@
-93,6
+93,16
@@
return FAIL;
}
+/* reset expansion variables */
+void
+regex_vars_clear(void)
+{
+regex_match_string = NULL;
+for (int i = 0; i < REGEX_VARS; i++) regex_vars[i] = NULL;
+}
+
+
+
int
regex(const uschar ** listptr, BOOL cacheable)
{