added patterns; added '-m' option; ' OR ' delimiter