summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/regexp001.smt2
blob: 62c142d1da6b2fb80bf6d26cfd007af44814bc3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(set-logic QF_S)
(set-info :status sat)
(set-option :strings-exp true)

(declare-fun x () String)

(assert (str.in.re x
		(re.* (re.++ (re.* (str.to.re "a") ) (str.to.re "b") ))
	))

(assert (= (str.len x) 3))

(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback