Filters a vector of names and returns the shortest common prefix.
filter_names(names, by = "[_():]|[^_():]*")
The vector of names to filter.
A regexp that splits the string. The default filters by special characters. A split by character can be achieved by using "." as the regexp.
The names shortened to the shortest prefix (in chunks defined by the regexp) where all names are unique.