Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-52586

Regex Isn't Working in TOC Macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Timed out
    • Low
    • None
    • 5.10.4, 6.2.0, 6.1.2
    • None

    Description

      Summary

      Regex function is not working in TOC macro anymore.

      Steps to Reproduce

      1. Add a sample page in your Confluence instance with some headings, e.g. in this case we'd add some headings that starts with characters from A-E.
      2. Include a Table of Contents macro in this page and specify some regex in the Include Headings option, for example:
        {code}[a-c,A-B].*{code}

      Expected Results

      Confluence only list down headings that starts with either A, B or C in the TOC macro

      Actual Results

      Confluence list down all of the available headings in that page.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lrura Lauretha Rura
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: