BurntSushi/aho-corasick

Make len() available on `Match`

Ten0 opened this issue · 1 comments

Ten0 commented

It looks like Match stores a len, but that is not made available except through recomputing it as m.end() - m.start().
How about just making it available as m.len()?

SGTM. Patches welcome.