Adding a regex filter to collections