summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/bug002.smt2
blob: f8a481e14f7f8f40942f45f1627f9f32fcc51bc9 (plain)
1
2
3
4
5
6
7
8
9
10
(set-logic ASLIA)
(set-info :smt-lib-version 2.0)
(set-option :strings-exp true)
(set-info :status sat)

; regex = [\*-,\t\*-\|](.{6,}()?)+
(define-fun strinre ((?s String)) Bool (str.in.re ?s (re.union re.nostr (re.++ (str.to.re "") (str.to.re "") (re.union re.nostr (re.range "*" ",") (str.to.re "\t") (re.range "*" "|") ) (re.+ (re.union re.nostr (re.++ (str.to.re "") (str.to.re "") (re.loop re.allchar 6 ) (re.opt (re.union re.nostr (re.++ (str.to.re "") (str.to.re "") ) ) ) ) ) ) ) )  ) )
(assert (not (strinre "6O\1\127\n?")))

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