Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5021

Regular Expressions for web.page.regex returning unexpected results

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • 1.8.12
    • Server (S)
    • Ubuntu

      When passing a regex parameter to the web.page.regex item, I am not getting the return value expected. What are the supported characters? When using .*\n for example, it returns Cache-Con for the value below. Square brackets '[]' don't seem to be supported either. This is very frustrating.

      HTTP/1.1 200 OK
      Cache-Control: private
      Content-Type: text/html; charset=utf-8
      Server: Microsoft-IIS/7.5
      X-AspNetMvc-Version: 3.0
      X-AspNet-Version: 4.0.30319
      X-Powered-By: ASP.NET
      Date: Fri, 18 May 2012 13:43:20 GMT
      Connection: close
      Content-Length: 1

      0

            Unassigned Unassigned
            edgar.juarez Edgar Juarez
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: