ocaml-batteries-team/batteries-included — pull request #491 by c-cube (2014-01-02 22:34:48+00:00)
Title: string.find_all function

I think it could be pretty useful! It provides a higher-level interface to String.find_from, that makes it easy to count the number of occurrences of the needle in the haystack, for instance.