(self, q, limit=0)
:param q: the query to match.
        :param limit: the query must match within this position at the start
            of a document. The default is ``0``, which means the query must
            match at the first position.
:param q: the query to match.
        :param limit: the query must match within this position at the start
            of a document. The default is ``0``, which means the query must
            match at the first position.
: param q : the query to match . : param limit : the query must match within this position at the start of a document . The default is 0 which means the query must match at the first position .
def __init__(self, q, limit=0):
        """
        :param q: the query to match.
        :param limit: the query must match within this position at the start
            of a document. The default is ``0``, which means the query must
            match at the first position.
        """

        self.q = q
        self.limit = limit
def __init__ ( self , q , limit = 0 ) : self . q = q self . limit = limit