search_index: Internal function for select_types
to search the index using
fastmatch.
Description
Internal function for select_types
to search the index using
fastmatch.
Usage
search_index(pattern, index)
Arguments
index
an index object created by index_types
regex
a glob expression to search