Revision: 6068
Author: wikipedian
Date: 2008-11-06 01:00:13 +0000 (Thu, 06 Nov 2008)
Log Message:
-----------
grammar-de: whitespace before semicolon is sometimes correct.
Modified Paths:
--------------
trunk/pywikipedia/fixes.py
Modified: trunk/pywikipedia/fixes.py
===================================================================
--- trunk/pywikipedia/fixes.py 2008-11-05 22:11:33 UTC (rev 6067)
+++ trunk/pywikipedia/fixes.py 2008-11-06 01:00:13 UTC (rev 6068)
@@ -1,4 +1,4 @@
-# -*- coding: utf-8 -*-
+# -*- coding: utf-8 -*-
""" File containing all standard fixes """
__version__ = '$Id$'
@@ -98,10 +98,10 @@
(u'([a-zäöüß](\]\])?,)((\[\[)?[a-zäöüA-ZÄÖÜ])',
r'\1 \3'),
# Leerzeichen und Komma vertauscht
(u'([a-zäöüß](\]\])?) ,((\[\[)?[a-zäöüA-ZÄÖÜ])',
r'\1, \3'),
- # Plenks (d. h. Leerzeichen auch vor dem
Komma/Punkt/Semikolon/Ausrufezeichen/Fragezeichen)
+ # Plenks (d. h. Leerzeichen auch vor dem
Komma/Punkt/Ausrufezeichen/Fragezeichen)
# Achtung bei Französisch:
http://de.wikipedia.org/wiki/Plenk#Sonderfall_Franz.C3.B6sisch
- # Leerzeichen vor Doppelpunkt kann korrekt sein, nach irgendeiner Norm für
Zitationen.
- (u'([a-zäöüß](\]\])?) ([,\.;!\?]) ((\[\[)?[a-zäöüA-ZÄÖÜ])',
r'\1\3 \4'),
+ # Leerzeichen vor Doppelpunkt/Semikolon kann korrekt sein, nach irgendeiner
Norm für Zitationen.
+ (u'([a-zäöüß](\]\])?) ([,\.!\?]) ((\[\[)?[a-zäöüA-ZÄÖÜ])',
r'\1\3 \4'),
#(u'([a-z]\.)([A-Z])',
r'\1 \2'),
],
'exceptions': {