virtualEnvironment/lib/python2.7/site-packages/coverage/parser.py
def lines_matching(self, *regexes):
        """Find the lines matching one of a list of regexes.

        Returns a set of line numbers, the lines that contain a match for one
        of the regexes in `regexes`.  The entire line needn't match, just a
        part of it.

        """
        regex_c = re.compile(join_regex(regexes))
        matches = set()
        for i, ltext in enumerate(self.lines):
            if regex_c.search(ltext):
                matches.add(i+1)
        return matches
def lines_matching(self, *regexes):
        regex_c = re.compile(join_regex(regexes))
        matches = set()
        for i, ltext in enumerate(self.lines):
            if regex_c.search(ltext):
                matches.add(i+1)
        return matches
def lines_matching ( self , * regexes ) : regex_c = re . compile ( join_regex ( regexes ) ) matches = set ( ) for i , ltext in enumerate ( self . lines ) : if regex_c . search ( ltext ) : matches . add ( i + 1 ) return matches
Find the lines matching one of a list of regexes.

        Returns a set of line numbers, the lines that contain a match for one
        of the regexes in `regexes`.  The entire line needn't match, just a
        part of it.
Find the lines matching one of a list of regexes .