message: Accept tow levels of nested {} in frame titles
  Close
diff: @@ -306,9 +306,9 @@ export class SectionNodeProvider implements vscode.TreeDataProvider<Section> {
  if (env.name === 'frame') {
  // Frame titles can be specified as either \begin{frame}{Frame Title}
  // or \begin{frame} \frametitle{Frame Title}
  - const frametitleRegex = /\\frametitle(?:<[^<>]*>)?(?:\[[^[\]]*\])?{((?:(?:[^{}])|(?:\{[^{}]*\}))+)}/gsm
  + const frametitleRegex = /\\frametitle(?:<[^<>]*>)?(?:\[[^[\]]*\])?{((?:[^{}]|(?:\{[^{}]*\})|\{[^{}]*\{[^{}]*\}[^{}]*\})+)}/gsm
  // \begin{frame}(whitespace){Title} will set the title as long as the whitespace contains no more than 1 newline
  - const beginframeRegex = /\\begin{frame}(?:<[^<>]*>?)?(?:\[[^[\]]*\]){0,2}[\t ]*(?:(?:\r\n|\r|\n)[\t ]*)?{([^{}]*)}/gsm
  + const beginframeRegex = /\\begin{frame}(?:<[^<>]*>?)?(?:\[[^[\]]*\]){0,2}[\t ]*(?:(?:\r\n|\r|\n)[\t ]*)?{((?:[^{}]|(?:\{[^{}]*\})|\{[^{}]*\{[^{}]*\}[^{}]*\})+)}/gsm
  // \frametitle can override title set in \begin{frame}{<title>} so we check that first
  result = frametitleRegex.exec(content)
  