Use patMatchArg instead of directly using grepl to allow multiple patterns.