summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/regexp-native-simple.cvc.smt2
blob: c1c0087afae54832d19f4d470ac8982904bca7e8 (plain)
1
2
3
4
5
6
7
8
; EXPECT: sat
(set-logic ALL)
(set-option :incremental false)
(declare-fun x () String)
(assert (str.in_re x (re.++ (re.opt (re.* (re.union (re.range "i" "j") (re.range "k" "l")))) (re.+ (str.to_re "abc")) ((_ re.loop 1 2) (str.to_re "def")) re.allchar )))
(assert (not (str.in_re x (re.inter (re.* re.allchar ) re.none ))))
(assert (= x "ikljabcabcdefe"))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback