def organism_matches(organism, patterns):
    """Tests organism filter RegEx patterns against a given organism name."""
    for pattern in patterns:
        if pattern.match(organism):
            return True
    return False