def ParseRevision(lines):
  for line in lines[:10]:
    if line.startswith('@'):
      break
    m = re.match(r'---\s.*\(.*\s(\d+)\)\s*$', line)
    if m:
      return int(m.group(1))
  return 0
Fetch a list of all values matching the keys supplied,
dataset/ETHPy150Open rietveld-codereview/rietveld/codereview/patching.py/ParseRevision--crossover with--dataset/ETHPy150Open nigelsmall/httpstream/httpstream/rfc6570.py/URITemplate._Expander.collect