Lines Matching refs:match
60 A class representing a match, together with its found position.
63 * filename: the file that the match was in.
64 * line: the full line containing the match.
66 * pos: a tuple of (start, end) positions on the line where the match is.
67 * name: the match itself.
150 A problem that occurs when something doesn't match the expected pattern.
155 * match: the Match object in question
157 def __init__(self, pattern, match):
159 self.match = match
166 .format(self.match.filename, self.match.line_no, self.match.name)
171 "{0}:{1}: '{2}' does not match the required pattern '{3}'."
173 self.match.filename,
174 self.match.line_no,
175 self.match.name,
178 ) + "\n" + str(self.match)
187 * match: the Match object of the MBED|PSA name in question.
189 def __init__(self, match):
190 self.match = match
196 .format(self.match.filename, self.match.line_no, self.match.name)
204 .format(self.match.filename, self.match.line_no, self.match.name)
205 ) + "\n" + str(self.match)
221 # Note that "*" can match directory separators in exclude lists.
318 Get all files that match any of the included UNIX-style wildcards
325 * include_wildcards: a List of shell-style wildcards to match filepaths.
348 Get all files that match any of the included UNIX-style wildcards.
354 * include_wildcards: a List of shell-style wildcards to match filepaths.
588 if self.EXCLUSION_LINES.match(line):
876 match.name
877 for match