Skip to content

Commit 812b0cc

Browse files
committed
python3
1 parent 4fa0384 commit 812b0cc

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Mailman/Bouncers/SimpleMatch.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def _c(pattern):
101101
# another kundenserver.de
102102
(_c('A message that you( have)? sent could not be delivered'),
103103
_c('^---'),
104-
_c('^(?P<addr>[^\s@]+@[^\s@:]+):')),
104+
_c(r'^(?P<addr>[^\s@]+@[^\s@:]+):')),
105105
# thehartford.com and amenworld.com
106106
(_c('Del(i|e)very to the following recipient(s)? (failed|was aborted)'),
107107
# this one may or may not have the original message, but there's nothing
@@ -147,20 +147,20 @@ def _c(pattern):
147147
_c('<(?P<addr>[^>]*)>:')),
148148
# socgen.com
149149
(_c('Your message could not be delivered to'),
150-
_c('^\s*$'),
151-
_c('(?P<addr>[^\s@]+@[^\s@]+)')),
150+
_c(r'^\s*$'),
151+
_c(r'(?P<addr>[^\s@]+@[^\s@]+)')),
152152
# dadoservice.it
153153
(_c('Your message has encountered delivery problems'),
154154
_c('Your message reads'),
155155
_c(r'addressed to\s*(?P<addr>[^\s@]+@[^\s@)]+)')),
156156
# gomaps.com
157157
(_c('Did not reach the following recipient'),
158-
_c('^\s*$'),
158+
_c(r'^\s*$'),
159159
_c(r'\s(?P<addr>[^\s@]+@[^\s@]+)')),
160160
# EYOU MTA SYSTEM
161161
(_c('This is the deliver program at'),
162162
_c('^-'),
163-
_c('^(?P<addr>[^\s@]+@[^\s@<>]+)')),
163+
_c(r'^(?P<addr>[^\s@]+@[^\s@<>]+)')),
164164
# A non-standard qmail at ieo.it
165165
(_c('this is the email server at'),
166166
_c('^-'),
@@ -175,7 +175,7 @@ def _c(pattern):
175175
_c(r'^(?P<addr>[^\s@]+@[^\s@]+)\s*$')),
176176
# lttf.com
177177
(_c('Could not deliver message to'),
178-
_c('^\s*--'),
178+
_c(r'^\s*--'),
179179
_c(r'^Failed Recipient:\s*(?P<addr>[^\s@]+@[^\s@]+)\s*$')),
180180
# uci.edu
181181
(_c('--------Message not delivered'),

0 commit comments

Comments
 (0)