'@param matcher: An object used as criteria for match.
@type matcher: I{any}.match(n)
@param limit: Limit the number of matches.  0=unlimited.
@type limit: int'

def __init__(self, matcher, limit=0):

    self.matcher = matcher
    self.limit = limit
