Fix re parsing where a - as last character in a class yielded a syntax error
This commit is contained in:
parent
c6eeb93ed4
commit
78669c22e5
|
@ -237,6 +237,7 @@ namespace lxs {
|
||||||
if (input[idx] == ']')
|
if (input[idx] == ']')
|
||||||
{
|
{
|
||||||
used_chars.insert('-');
|
used_chars.insert('-');
|
||||||
|
idx--;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue