Improve strings rewriter for contains (#1207)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Sat, 28 Oct 2017 04:16:38 +0000 (23:16 -0500)
committerGitHub <noreply@github.com>
Sat, 28 Oct 2017 04:16:38 +0000 (23:16 -0500)
commit675e82e32a34911163f9de0e6389eb107be5b0f1
treea3215999b2f1550325b77d19e14a61793dafce35
parent1fe3247a0bf4b806f99c161dcc9c6644aabb38c1
Improve strings rewriter for contains (#1207)

* Work on rewriter for string contains.

* Add rewrites that mix str.to.int and str.contains. Documentation, add regression.

* Minor

* Minor

* Address review, add a few TODOs. Improve some non-digit -> not is number.

* Fix

* Simplify.

* Clang format, minor fixing of comments.
src/theory/strings/theory_strings_rewriter.cpp
src/theory/strings/theory_strings_rewriter.h
src/util/regexp.cpp
src/util/regexp.h
test/regress/regress0/strings/Makefile.am
test/regress/regress0/strings/issue1189.smt2 [new file with mode: 0644]