def match(self, stat):
    res = self._pattern.match(stat)
    if res:
      self._count += 1
      return self._target_format%res.groupdict()
    return None
If the stat matches, return the name of the aggregate, else return None
dataset/ETHPy150Open agoragames/torus/torus/aggregates.py/Aggregate.match