not working flags g modifier in regexp

XMLWordPrintable

    • Type: Incident report
    • Resolution: Incomplete
    • Priority: Trivial
    • None
    • Affects Version/s: 3.4.4
    • Component/s: None
    • None

      Problem is simple:

      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.

      When i delete "g modifier", regexp working fine.

            Assignee:
            Unassigned
            Reporter:
            Sergey Korchak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: