setting match pattern in config file