Python 3.x 特定字符串上的Datefinder模块行为

Python 3.x 特定字符串上的Datefinder模块行为,python-3.x,datefinder,Python 3.x,Datefinder,我有两条线: s1 = 'Agreement dated on March 9, 2007' s2 = 'Agreement signed on March 9, 2007' 我在字符串上运行下面的代码 import datefinder matches =datefinder.find_dates(s1) ## or s2 for match in matches: print (match) s2给出了我想要的结果,但是s1没有,因为它包含日期这个词 另外,我使用了date

我有两条线:

s1 = 'Agreement dated on March 9, 2007'
s2 = 'Agreement signed on March 9, 2007'
我在字符串上运行下面的代码

import datefinder
matches =datefinder.find_dates(s1) ## or s2
for match in matches:
       print (match)
s2
给出了我想要的结果,但是
s1
没有,因为它包含日期这个词

另外,我使用了datefinder,因为我有多种日期格式,因此需要编写多个正则表达式。仅在这个例外情况下,这种方法就很有效


知道为什么会有这种奇怪的行为吗?

可能是个bug。