fix for pattern matching of config file sections