fixed regex for span and range
svn: r4572
This commit is contained in:
parent
864e8bb7d4
commit
86634e3481
@ -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)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user