update config file to add regex section with explanation and example