Fix non-WITH_CONTENT_SCAN build (2)
[exim.git] / src / src / regex.c
index 3088f0066ae3559baa00190b1d14275a6daeae0e..25496f950db7d09debf46c15f902dda139965238 100644 (file)
@@ -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)
 {