7.4 preprocessing rejects valid PCRE2 regex containing escaped quotes

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 7.4.5
    • Component/s: Frontend (F)
    • None

      Any pattern that is valid in PCRE2 should also be accepted by the Zabbix frontend.
      However, the following valid PCRE2 expression is rejected by the frontend validator during preprocessing:

      String: <div _ngcontent-ng-c20724544=\"\">0 kg</div>
      Regex: <div _ngcontent-ng-c20724544=\\"\\">(\d+).*<\/div>

      Note: On 7.0 it is working.

            Assignee:
            Zabbix Development Team
            Reporter:
            Piotr Wegrzyn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: