The root problem is that this method API is not good. Users shouldn't have to specify a '{*}' at the beginning of the pattern. The header row should be ignored by default. In that case, writing the header comment becomes easier.