}
void Smt2::addStringOperators() {
+ defineVar("re.all",
+ getSolver()
+ ->mkTerm(api::REGEXP_STAR, getSolver()->mkRegexpSigma())
+ .getExpr());
+
addOperator(kind::STRING_CONCAT, "str.++");
addOperator(kind::STRING_LENGTH, "str.len");
addOperator(kind::STRING_SUBSTR, "str.substr" );
regress0/strings/ncontrib-rewrites.smt2
regress0/strings/norn-31.smt2
regress0/strings/norn-simp-rew.smt2
+ regress0/strings/re.all.smt2
regress0/strings/repl-rewrites2.smt2
regress0/strings/replaceall-eval.smt2
regress0/strings/rewrites-re-concat.smt2
regress0/test9.cvc
regress0/tptp/ARI086=1.p
regress0/tptp/DAT001=1.p
- regress0/tptp/is_rat_simple.p
regress0/tptp/KRS018+1.p
regress0/tptp/KRS063+1.p
regress0/tptp/MGT019+2.p
regress0/tptp/SYN000_1.p
regress0/tptp/SYN000_2.p
regress0/tptp/SYN075-1.p
+ regress0/tptp/is_rat_simple.p
regress0/tptp/tff0-arith.p
regress0/tptp/tff0.p
regress0/tptp/tptp_parser.p
--- /dev/null
+(set-logic QF_SLIA)
+(set-info :status unsat)
+(declare-const x String)
+(assert (str.in.re x (re.++ (str.to.re "abc") re.all)))
+(assert (not (str.prefixof "abc" x)))
+(check-sat)