From 10437787b0e8ede80976de4a1c22775fc1282f36 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 29 Nov 2017 11:36:57 +0100 Subject: Implement eval hooking It's not possible to hook the `eval` builtin like other functions.--- src/sp_utils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sp_utils.c') diff --git a/src/sp_utils.c b/src/sp_utils.c index 514fc10..28c8a8b 100644 --- a/src/sp_utils.c +++ b/src/sp_utils.c @@ -229,6 +229,8 @@ bool sp_match_value(const char* value, const char* to_match, const pcre* rx) { } } else if (rx) { return is_regexp_matching(rx, value); + } else { + return true; } return false; } -- cgit v1.3