Skip to content

Commit

Permalink
check-bolt: escape { and }.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rustyrussell committed Sep 22, 2019
1 parent 1d5bbc8 commit ccbc46a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/check-bolt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 '+':
Expand Down

0 comments on commit ccbc46a

Please sign in to comment.