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 <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2019-09-20 16:25:49 +09:30
parent 1d5bbc874a
commit ccbc46a476

View File

@ -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 '+':