Fix for inverted character class ranges
This commit is contained in:
parent
652ee18461
commit
063d73835a
|
@ -187,8 +187,10 @@ namespace lxs {
|
|||
}
|
||||
else
|
||||
{
|
||||
used_chars.insert(input[idx]);
|
||||
last_char = input[idx];
|
||||
if (idx < end - 1 && input[idx + 1] != '-')
|
||||
used_chars.insert(input[idx]);
|
||||
else
|
||||
last_char = input[idx];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue