Browse Source

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>
travis-debug
Rusty Russell 5 years ago
parent
commit
ccbc46a476
  1. 2
      tools/check-bolt.c

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

Loading…
Cancel
Save