From ccbc46a4762acee1c0f9db7a35c3aa03cb9a3ef7 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 20 Sep 2019 16:25:49 +0930 Subject: [PATCH] check-bolt: escape { and }. These are special in extended regexs, and so we fail to match once we fix the BOLT comment in common/test/run-bigsize.c Signed-off-by: Rusty Russell --- tools/check-bolt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/check-bolt.c b/tools/check-bolt.c index 59bbf5c20..e8bb39660 100644 --- a/tools/check-bolt.c +++ b/tools/check-bolt.c @@ -170,6 +170,8 @@ static char *code_to_regex(const char *code, size_t len, bool escape) case '^': case '[': case ']': + case '{': + case '}': case '(': case ')': case '+':