function parseExampleJsDoc(rawExample) {
  const match = rawExample.match(/^{(?<exampleValue>[^}]+)} (?<placeholderName>.+)$/);
  if (!match || !match.groups) throw new Error(`Incorrectly formatted @example: "${rawExample}"`);
  const {placeholderName, exampleValue} = match.groups;
  return {placeholderName, exampleValue};
}
Parses a string of the form `{exampleValue} placeholderName`, parsed by tsc
as the content of an `@example` tag.
@param {string} rawExample
@return {{placeholderName: string, exampleValue: string}}