From f723438edaa19d61320c9391a39bc63c5b07bae6 Mon Sep 17 00:00:00 2001 From: jmeaster30 Date: Sun, 16 Apr 2023 14:02:05 -0400 Subject: [PATCH] Fixed failing tests --- libvore/parser_regexp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvore/parser_regexp.go b/libvore/parser_regexp.go index f00f013..ec4178d 100644 --- a/libvore/parser_regexp.go +++ b/libvore/parser_regexp.go @@ -118,7 +118,7 @@ func parse_regexp_pattern(regexp_token *Token, regexp string, index int) (AstExp if comma_or_brace == ',' { if regexp[idx+1] == '}' { exp = &AstLoop{from, -1, false, &AstPrimary{start}, ""} - end_idx = idx + 1 + end_idx = idx + 2 } else { to, idx2, err := parse_regexp_number(regexp_token, regexp, idx+1) if err != nil {