Lines Matching refs:matches
109 # Expand matches. The first match is always a DESC or DESC_BEGIN match.
110 # Subsequent matches are ENUM matches.
114 def expandMatches(matches, translations, outfile, end=None):
115 assert len(matches) > 0
124 if len(matches) == 1 and i < len(translations) and \
125 not matches[0].expand(r'\7').endswith('\\'):
128 matches[0].expand (r'\5'))))
129 text = (matches[0].expand(r'\1' + lang + r'\3"' + text + r'"\7') + suffix)
134 for match in matches[1:]: