mirror of
https://github.com/Z3Prover/z3
synced 2025-06-21 13:23:39 +00:00
add note that current re.complement is non-standard
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
94453033b6
commit
e2dc7c6f64
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ eautomaton* re2automaton::re2aut(expr* e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (u.re.is_complement(e, e0)) {
|
else if (u.re.is_complement(e, e0)) {
|
||||||
|
// TBD non-standard semantics of complementation.
|
||||||
if (u.re.is_range(e0, e1, e2) && u.str.is_string(e1, s1) && u.str.is_string(e2, s2) &&
|
if (u.re.is_range(e0, e1, e2) && u.str.is_string(e1, s1) && u.str.is_string(e2, s2) &&
|
||||||
s1.length() == 1 && s2.length() == 1) {
|
s1.length() == 1 && s2.length() == 1) {
|
||||||
unsigned start = s1[0];
|
unsigned start = s1[0];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue