Open GoogleCodeExporter opened 9 years ago
Here are some other simple regular expressions that are broken in esmre-0.3.1:
#Parentheses
>>> index = esmre.Index()
>>> index.enter("too(l|th)",1)
>>> index.query("too")
[1]
#brackets
>>> index = esmre.Index()
>>> index.enter("wa[tv]er",1)
>>> index.query("wa")
[1]
>>> index.query("wage")
[1]
#brackets
Original comment by quant...@gmail.com
on 16 May 2014 at 11:08
is this a bug?
Original comment by wkwl880...@gmail.com
on 5 Jun 2015 at 7:38
Yes, it looks like a major bug surrounding nondeterminism/branched expressions.
Original comment by quant...@gmail.com
on 5 Jun 2015 at 9:31
Original issue reported on code.google.com by
chrisspen@gmail.com
on 20 Nov 2012 at 5:17