def __repr__(self):
    s = '<regular expression \'%s\'' % self.regex.pattern
    if self.regex.flags:
      s += ', flags=%d' % self.regex.flags
    s += '>'
    return s
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/mox/mox.py/Regex.__repr__/original