fixed regex for span and range

svn: r4572
This commit is contained in:
Martin Hawlisch 2005-05-12 15:40:00 +00:00
parent 864e8bb7d4
commit 86634e3481

View File

@ -74,8 +74,8 @@ class DateParserDE(DateParser):
def init_strings(self):
DateParser.init_strings(self)
self._span = re.compile("(von|vom)\s+(.+)\s+bis\s+(.+)",re.IGNORECASE)
self._range = re.compile("zwischen\s+(.+)\s+und\s+(.+)", re.IGNORECASE)
self._span = re.compile("(von|vom)\s+(.+)\s+(bis)\s+(.+)",re.IGNORECASE)
self._range = re.compile("(zwischen)\s+(.+)\s+(und)\s+(.+)", re.IGNORECASE)
#-------------------------------------------------------------------------
#