Searched refs:subpatterns (Results 1 – 1 of 1) sorted by relevance
238 def get_characteristic_subpattern(subpatterns): argument243 if not isinstance(subpatterns, list):244 return subpatterns245 if len(subpatterns)==1:246 return subpatterns[0]254 for subpattern in subpatterns:267 subpatterns = subpatterns_with_names269 subpatterns = subpatterns_with_common_names271 subpatterns = subpatterns_with_common_chars273 return max(subpatterns, key=len)