mirror of
https://github.com/Z3Prover/z3
synced 2026-06-11 03:15:36 +00:00
Regex membership (#7506)
* Make finding a word in the regex iterative * Fixed gc problem
This commit is contained in:
parent
9a237d55ca
commit
c572fc2e4f
5 changed files with 103 additions and 169 deletions
|
|
@ -354,9 +354,7 @@ class seq_rewriter {
|
|||
void intersect(unsigned lo, unsigned hi, svector<std::pair<unsigned, unsigned>>& ranges);
|
||||
|
||||
bool get_bounds(expr* e, unsigned& low, unsigned& high);
|
||||
bool append_char(expr_ref_vector& pinned, expr_mark& visited, buffer<std::pair<unsigned, unsigned>>& exclude, expr* r, unsigned_vector& str);
|
||||
bool some_string_in_re(expr_ref_vector& pinned, expr_mark& visited, expr* r, unsigned_vector& str);
|
||||
|
||||
bool some_string_in_re(expr_mark& visited, expr* r, unsigned_vector& str);
|
||||
|
||||
public:
|
||||
seq_rewriter(ast_manager & m, params_ref const & p = params_ref()):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue