mirror of
https://github.com/Z3Prover/z3
synced 2026-06-07 17:40:54 +00:00
Another regex witness bug
This commit is contained in:
parent
737c5d44ed
commit
88ef8c7cda
1 changed files with 3 additions and 1 deletions
|
|
@ -6106,7 +6106,9 @@ lbool seq_rewriter::some_string_in_re(expr_mark& visited, expr* r, unsigned_vect
|
||||||
if (!re().is_empty(el)) {
|
if (!re().is_empty(el)) {
|
||||||
if (has_bounds)
|
if (has_bounds)
|
||||||
exclude.push_back({ low, high });
|
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) {
|
if (has_bounds) {
|
||||||
// I want this case to be processed first => push it last
|
// I want this case to be processed first => push it last
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue