remove undesirable hack from --pattern
Merge pull request #680 from dwightguth/pattern

remove undesirable hack from --pattern