def parse_quantifier(source, info, ch):
 q = _QUANTIFIERS.get(ch)
 if q:
  return q
 if (ch == '{'):
  counts = parse_limited_quantifier(source)
  if counts:
   return counts
 return None

def parse_quantifier ( source , info , ch ) : q = _QUANTIFIERS . get ( ch ) if q : return q if ( ch == '{' ) : counts = parse_limited_quantifier ( source ) if counts : return counts return None
parses a quantifier .