Fixes #6639. The issue cannot be reproduced on current master and git bisect suggests that commit
adf497a
fixed the issue.
regress2/strings/issue6057-replace-re-all-simplified.smt2
regress2/strings/issue6636-replace-re-all.smt2
regress2/strings/issue6637-replace-re-all.smt2
+ regress2/strings/issue6639-replace-re-all.smt2
regress2/strings/issue918.smt2
regress2/strings/non_termination_regular_expression6.smt2
regress2/strings/range-perf.smt2
--- /dev/null
+(set-logic QF_SLIA)
+(declare-fun a () String)
+(assert (= a ""))
+(assert (not (str.in_re (str.replace_re_all "b" (re.comp (str.to_re a)) "a") (str.to_re "a"))))
+(set-info :status unsat)
+(check-sat)