diff options
Diffstat (limited to 'src/theory/strings/term_registry.cpp')
-rw-r--r-- | src/theory/strings/term_registry.cpp | 6 |
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; } |