Add scanning regex to config file.