rushstack
rushstack copied to clipboard
[api-documenter] Update regex in the OfficeYamlDocumenter to be case insensitive
Summary
This PR fixes output like what's seen in this yaml file. When the term "Api" is in the description twice, the API set link isn't corrected. In this case, the "ExcelApi" string is also incorrectly changed.
The solution is to combine the case normalization of "Api set" and the link addition.
Details
How it was tested
Manually tested the regex against the source yaml.
Impacted documentation
@iclanton @dmichon-msft, any chance for a quick review?