diff --git a/talon/quotations.py b/talon/quotations.py index 28914f2..dc77fd4 100644 --- a/talon/quotations.py +++ b/talon/quotations.py @@ -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' )) ) )