Lines Matching refs:group
551 Each group is in the same format as returned by get_opcodes().
584 group = []
586 # End the current group and start a new one whenever
589 group.append((tag, i1, min(i2, i1+n), j1, min(j2, j1+n)))
590 yield group
591 group = []
593 group.append((tag, i1, i2, j1 ,j2))
594 if group and not (len(group)==1 and group[0][0] == 'equal'):
595 yield group
1138 for group in SequenceMatcher(None,a,b).get_grouped_opcodes(n):
1146 first, last = group[0], group[-1]
1151 for tag, i1, i2, j1, j2 in group:
1227 for group in SequenceMatcher(None,a,b).get_grouped_opcodes(n):
1235 first, last = group[0], group[-1]
1241 if any(tag in {'replace', 'delete'} for tag, _, _, _, _ in group):
1242 for tag, i1, i2, _, _ in group:
1250 if any(tag in {'replace', 'insert'} for tag, _, _, _, _ in group):
1251 for tag, _, _, j1, j2 in group:
1416 sub_info.append([match_object.group(1)[0],match_object.span()])
1417 return match_object.group(1)