Test, validate and match regular expressions
Matches any string that ends with the literal extension `.config`, such as `web.config`, `app.config`, or `connectionStrings.config`, requiring at least one character before the extension. The entire filename is captured in group 1, while `^` and `$` anchor the match to the full line. Commonly used in TFS check-in policies to flag or block commits of configuration files, which often contain environment-specific or sensitive settings.