diff --git a/src/re.cpp b/src/re.cpp index 581f85b..d1c8d28 100644 --- a/src/re.cpp +++ b/src/re.cpp @@ -237,6 +237,7 @@ namespace lxs { if (input[idx] == ']') { used_chars.insert('-'); + idx--; } else {