-
Problem report
-
Resolution: Won't fix
-
Trivial
-
None
-
6.0.16, 6.4.1, 7.0.0alpha1
-
Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023)
-
1
Steps to reproduce:
- create discovery rule
- create calculated item or a trigger with LLD function macro
- use iregsub function macro with:
- pattern
.*
- pattern
-
- template (what to replace the match with)
\"\a
- template (what to replace the match with)
- wait for discovery to take effect and create items
Result:
When creating an item with resolved macro function, the resolved function:
- has value of
"\a
- instead of
\"\a