Use regexp matching for checking

In order to not always fail when new domain model is incompatible with
old one