Extra spaces check in RE_ON_DATE_WROTE_SMB reggae

This commit is contained in:
Simon
2015-04-15 13:55:59 +02:00
parent 072a440837
commit b4c180b9ff

View File

@@ -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}:' # Special case for languages where text is translated like this: 'on {date} wrote {somebody}:'
RE_ON_DATE_WROTE_SMB = re.compile( 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 # Beginning of the line
u'|'.join(( 'Op',
# Dutch
'Op'
)),
# Ending of the line # Ending of the line
u'|'.join(( u'|'.join((
# Dutch # Dutch
'schreef' 'schreef','verzond','geschreven'
)) ))
) )
) )