experimental and very fast implementation of a grep