Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: clarify meaning of SetMatches::len
It is really unfortunate, but SetMatches::len and SetMatcher::iter().count() do not correspond go the same thing. It's not clear why I even added the SetMatches::len method in the first place, but it always returns the number of regexes in the set, and not the number of regexes that matched. We can't change the name (or remove the method) obviously, but we do add a warning to the docs. Fixes #625
- Loading branch information