Moved path pattern string to config.