mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibRegex: Take trailing inversion state into account in block comparison
Fixes #3421.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
59ba2fb2ee
commit
08ebfaff17
Notes:
github-actions[bot]
2025-02-01 10:31:02 +00:00
Author: https://github.com/alimpfard Commit: https://github.com/LadybirdBrowser/ladybird/commit/08ebfaff175 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3424 Reviewed-by: https://github.com/gmta ✅
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user