3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-11 21:50:52 +00:00

reuse regex character constraints for the same string

This commit is contained in:
Murphy Berzish 2018-01-15 14:30:12 -05:00
parent 6f889ab699
commit 058d24fd09
2 changed files with 35 additions and 9 deletions

View file

@ -415,6 +415,7 @@ protected:
obj_map<expr, unsigned> regex_length_attempt_count;
obj_map<expr, unsigned> regex_fail_count;
obj_map<expr, unsigned> regex_intersection_fail_count;
obj_map<expr, ptr_vector<expr> > string_chars; // S --> [S_0, S_1, ...] for character terms S_i
svector<char> char_set;
std::map<char, int> charSetLookupTable;