Regex $options should not serialize with "?"

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • QO 2023-07-24
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      After serialization with "LiteralSerializationPolicy::kToRepresentativeParseableValue", $options with the $regex operator fails to re-parse with the error

      invalid flag in regex options: ? 

      You can see the relevant failing tests in the query_stats_passthrough in BF-29274.

            Assignee:
            Will Buerger
            Reporter:
            Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: