3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-23 04:49:11 +00:00

Another regex witness bug

This commit is contained in:
CEisenhofer 2026-03-20 14:07:12 +01:00
parent 737c5d44ed
commit 88ef8c7cda

View file

@ -6106,7 +6106,9 @@ lbool seq_rewriter::some_string_in_re(expr_mark& visited, expr* r, unsigned_vect
if (!re().is_empty(el)) {
if (has_bounds)
exclude.push_back({ low, high });
todo.push_back({ expr_ref(el, m()), str.size(), std::move(exclude), false });
todo.push_back({ expr_ref(el, m()), str.size(), exclude, false });
if (has_bounds)
exclude.pop_back();
}
if (has_bounds) {
// I want this case to be processed first => push it last