A regular expression with an escaped pipe '|' character is treated as non-simple

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Critical - P2
    • None
    • Affects Version/s: 3.2.3
    • Component/s: Querying
    • None
    • ALL
    • Hide

      See the referenced issues. Note that I see this as critical because this breaks functionality that has worked for years. We depend on this functionality.

      Show
      See the referenced issues. Note that I see this as critical because this breaks functionality that has worked for years. We depend on this functionality.
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This seems to be a regression from the fix of SERVER-15235.

      The problem with this fix is that, even when I have a regular expression that has a left-anchor and an escaped '|' character, that query is recognized as being "non-simple".

      This is wrong, and it causes unnecessarily that backwards compatibility is broken and performance is significantly degraded. See SERVER-22872 and SERVER-22890.

              Assignee:
              Ramon Fernandez Marina
              Reporter:
              ITWEBTF SAXOBANK
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: