def rex_assert(self, rex, byte=False):

        self.rex_search(rex, byte=byte)
If `rex` expression is not found then raise `DataNotFound` exception.
dataset/ETHPy150Open lorien/grab/grab/document.py/RegexpExtension.rex_assert