def error(self, mess):
    raise RegexpSyntaxError("Syntax error in regexp %s at position %d: %s" % (
      repr(self.s), self.i, mess))
Raise exception to signal syntax error in regexp.
dataset/ETHPy150Open ardekantur/pyglet/contrib/layout/layout/Plex/Traditional.py/REParser.error