Support regex in ignore

cf kosmtik/kosmtik#12