Could support a match filter like `Callable[[Match[bytes]], bytes]` that would be invoked on all matches before hashing.