Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-4262

Add full regular expression support.

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 3.4.4
    • Server (S)
    • None

      when i trying to add g modifier to regexp
      i getting this error message at element
      Item preprocessing step #2 failed: cannot perform regular expression match on value "47590;3172;0" of type "string": pattern does not match
      regexp: /(\d+)/g
      String: "47590;3172;0"
      You can check here
      https://regex101.com/r/jKLj7h/1
      it should work but its not working in zabbix.

      Now For backward compatibility reasons support for PCRE was added (ZBX-3924) in "compatibility mode" with POSIX ERE. So "g" is not one of those modifiers that can be specified in line.

            Unassigned Unassigned
            malmstream Sergey Korchak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: