Details
-
Type:
Problem report
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 4.2.0rc2
-
Fix Version/s: 4.0.10rc1, 4.2.4rc1, 4.4.0alpha1, 4.4 (plan)
-
Component/s: Agent (G), Frontend (F), Proxy (P), Server (S)
-
Labels:None
-
Team:Team A
-
Sprint:Sprint 50 (Mar 2019), Sprint 51 (Apr 2019), Sprint 52 (May 2019), Sprint 53 (Jun 2019)
-
Story Points:2
Description
Currently Regex matching is not consistent between input strings and Zabbix components.
For the test we can use the same pattern "(.)(.)(.)(.)" (without quotes).
- This pattern works with "abcd" on both Server and Frontend:
- This pattern works with "абвг" on Frontend (well, it still splits UTF sequences into separate bytes, but it doesn't produce the error), but fails on Server:
Currently, in order for regex to work correctly on Server (as well as on Agent and Proxy), utf flag should be set like so "(*UTF)(.)(.)(.)(.)" (without quotes):
It is expected for Server to work with UTF-8 by default.