Filters the input and returns with an array that contains all items that match the pattern.
Protected
Filters the input and returns with an array that contains all items that match the pattern.