summaryrefslogtreecommitdiff
path: root/src/mask.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mask.cc')
-rw-r--r--src/mask.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mask.cc b/src/mask.cc
index ed422b91..bf45e6f5 100644
--- a/src/mask.cc
+++ b/src/mask.cc
@@ -42,6 +42,7 @@ mask_t::mask_t(const string& pat) : expr()
mask_t& mask_t::operator=(const string& pat)
{
expr.assign(pat.c_str(), regex::perl | regex::icase);
+ VERIFY(valid());
return *this;
}