if test_pattern.lower() not in patterns and base_pattern.lower() not in patterns:
                                    # Add the pattern to the list of identified patterns
                                    patterns.append(str(test_pattern.lower()))
                                else:
                                    pattern_information[test_pattern.lower()][4] += 1