Take array keys of pattern filters.