def FindRegex(self, regex, data):
    for match in regex.FindIter(data):
      yield (match.start(), match.end())
Search the data for a hit.
dataset/ETHPy150Open google/grr/grr/client/client_actions/searching.py/Grep.FindRegex