X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d8ecc7bf97934a1e2244788c610c958cacd740bd..158dff9936e36a2d31d037d3988b9353458d6471:/src/src/regex.c diff --git a/src/src/regex.c b/src/src/regex.c index 3088f0066..25496f950 100644 --- 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) {