Add possibility of specifying an ignore-pattern.