1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00

LibRegex: Take trailing inversion state into account in block comparison

Fixes #3421.
This commit is contained in:
Ali Mohammad Pur 2025-02-01 07:59:29 +01:00 committed by Jelle Raaijmakers
parent 59ba2fb2ee
commit 08ebfaff17
Notes: github-actions[bot] 2025-02-01 10:31:02 +00:00
2 changed files with 3 additions and 1 deletions

View file

@ -500,7 +500,8 @@ static bool has_overlap(Vector<CompareTypeAndValuePair> const& lhs, Vector<Compa
}
}
return false;
// We got to the end, just double-check that the inverse flag was not left on (which would match everything).
return current_lhs_inversion_state();
}
enum class AtomicRewritePreconditionResult {