mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibRegex: Account for extra explicit And/Or in class parser assertion
Fixes #23691.
This commit is contained in:
committed by
Andreas Kling
parent
259a84ddac
commit
27a38932da
@@ -800,6 +800,7 @@ TEST_CASE(ECMA262_unicode_sets_parser_error)
|
||||
|
||||
constexpr _test tests[] {
|
||||
{ "[[]"sv, regex::Error::InvalidPattern },
|
||||
{ "[[x[]]]"sv, regex::Error::NoError }, // #23691, should not crash on empty charclass within AndOr.
|
||||
};
|
||||
|
||||
for (auto test : tests) {
|
||||
|
||||
Reference in New Issue
Block a user