equal
deleted
inserted
replaced
51 'status': 'Status:\s?(.+)', # list of statuses |
51 'status': 'Status:\s?(.+)', # list of statuses |
52 'emails': '[\w.-]+@[\w.-]+\.[\w]{2,4}', # list of email addresses |
52 'emails': '[\w.-]+@[\w.-]+\.[\w]{2,4}', # list of email addresses |
53 } |
53 } |
54 |
54 |
55 def __init__(self, domain, text, regex=None): |
55 def __init__(self, domain, text, regex=None): |
56 print text |
|
57 self.domain = domain |
56 self.domain = domain |
58 self.text = text |
57 self.text = text |
59 if regex is not None: |
58 if regex is not None: |
60 self._regex = regex |
59 self._regex = regex |
61 |
60 |