Extract regexp for buffers to ignore into a new var

#199