summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/issue6057-replace-re.smt2
blob: 192b244b4d3bf53ab00c1d3a0bcd5158b3c7907f (plain)
1
2
3
4
5
6
7
(set-logic QF_SLIA)
(declare-fun a () String)
(assert (str.suffixof "a" a))
(assert (str.in_re a (re.* (re.union (str.to_re (str.replace_re a (re.++ (re.* (str.to_re "a")) (str.to_re "ba")) "")) (str.to_re "b")))))
(assert (str.in_re a (re.++ (re.* (str.to_re (ite (str.in_re a (re.* (str.to_re "b"))) "" "u"))) (re.* (str.to_re a)))))
(set-info :status sat)
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback