-
Change Request
-
Resolution: Unresolved
-
Major
-
None
-
3.4.4
-
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.
- is duplicated by
-
ZBX-13126 not working g modifier in regexp
-
- Closed
-