first pass trying to filter patterns to only those that user has typed in