Escaping double quotes in an alert search has incorrect syntax highlighting

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      While using backslashes to escape double quotes in a search query, the syntax highlighting in the alert dashboard incorrectly splits the string after escaping. Despite being a valid (and working) search, this may cause users to think the search syntax is wrong. 

      Steps to Reproduce

      1. Create a search query that includes " 
        message:"some \"search\" with quotes" 
      1. Check the syntax highlighting and confirm Opsgenie thinks that any characters between the escaped quotes are excluded. 

      Expected Results

      The entire search shows as dark green to indicate it is a single string.

      Actual Results

      Opsgenie thinks that any characters between the escaped quotes are excluded. 

      Workaround

      None required. The search is valid and returns results as expected. This is just a display issue. 

            Assignee:
            Unassigned
            Reporter:
            Robert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: