wharris/esmre

False positive error?

Closed this issue · 1 comments

May be I don't understand what exactly query method does. I think it returns provided objects for matched patterns. Then I get false positive error in some cases.

index = esmre.Index()
index.enter(r'download\.com', 'mypattern')
index.query('http://example.com/download')
Out: ['mypattern']

What was the answer to this @askabelin , @wharris ?