Allow multiple input patterns to be specified