Extra spaces check in RE_ON_DATE_WROTE_SMB reggae
This commit is contained in:
@@ -56,16 +56,13 @@ RE_ON_DATE_SMB_WROTE = re.compile(
|
||||
))
|
||||
# Special case for languages where text is translated like this: 'on {date} wrote {somebody}:'
|
||||
RE_ON_DATE_WROTE_SMB = re.compile(
|
||||
u'(-*[ ]?({0}).*(.*\n){{0,2}}.*({1}).*:)'.format(
|
||||
u'(-*[ ]?({0})[ ].*(.*\n){{0,2}}.*({1})[ ].*:)'.format(
|
||||
# Beginning of the line
|
||||
u'|'.join((
|
||||
# Dutch
|
||||
'Op'
|
||||
)),
|
||||
'Op',
|
||||
# Ending of the line
|
||||
u'|'.join((
|
||||
# Dutch
|
||||
'schreef'
|
||||
'schreef','verzond','geschreven'
|
||||
))
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user