datrie icon indicating copy to clipboard operation
datrie copied to clipboard

Can prefix method return the postions of the result ?

Open bojone opened this issue 9 years ago • 0 comments

I find prefix method in all of your trie modules does not return the postions of the result. For example, datrie module:

trie.prefix_items(u'foobarbaz') [(u'foo', 5), (u'foobar', 10)]

How can I get the start postion or end postion of the result "foo" and "foobar"?

bojone avatar Aug 11 '16 07:08 bojone