Add new parameter -pattern

Added a new parameter to check for a specific pattern with wildcards
(see examples)