# Check each element of the array vs. the supplied pattern. #### # Eliminate items that can't be processed. #### # XXX I can't tell what this next section is doing.