test/regress/cli/regress1/strings/issue2060.smt2
raw| 1 | (set-logic QF_S) |
| 2 | (set-info :status sat) |
| 3 | |
| 4 | (declare-const action String) |
| 5 | (declare-const example_key String) |
| 6 | |
| 7 | (assert (str.in_re action (re.++ |
| 8 | (str.to_re "foobar:ab") |
| 9 | (re.* re.allchar) |
| 10 | ))) |
| 11 | |
| 12 | (declare-const action_1 String) |
| 13 | (declare-const action_2 String) |
| 14 | |
| 15 | (assert (and |
| 16 | (= action (str.++ action_1 example_key action_2)) |
| 17 | (= action_1 "foobar:a") |
| 18 | )) |
| 19 | |
| 20 | (check-sat) |