summaryrefslogtreecommitdiff
path: root/src/theory/strings/term_registry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/strings/term_registry.cpp')
-rw-r--r--src/theory/strings/term_registry.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/theory/strings/term_registry.cpp b/src/theory/strings/term_registry.cpp
index 3d898b40b..ec034b0c9 100644
--- a/src/theory/strings/term_registry.cpp
+++ b/src/theory/strings/term_registry.cpp
@@ -88,6 +88,12 @@ void TermRegistry::preRegisterTerm(TNode n)
}
if (k == EQUAL)
{
+ if (n[0].getType().isRegExp())
+ {
+ std::stringstream ss;
+ ss << "Equality between regular expressions is not supported";
+ throw LogicException(ss.str());
+ }
d_ee.addTriggerEquality(n);
return;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback