1 diff -Nurpd a/regparse.c b/regparse.c
2 --- a/regparse.c 2020-04-03 10:48:05.349134180 -0700
3 +++ b/regparse.c 2020-04-03 10:55:16.647309795 -0700
4 @@ -4412,9 +4412,11 @@ next_state_val(CClassNode* cc, OnigCodeP
9 + if (*type == CCV_SB) {
11 + return ONIGERR_INVALID_CODE_POINT_VALUE;
12 BITSET_SET_BIT_CHKDUP(cc->bs, (int )(*vs));
13 - else if (*type == CCV_CODE_POINT) {
14 + } else if (*type == CCV_CODE_POINT) {
15 r = add_code_range(&(cc->mbuf), env, *vs, *vs);