Here is several improvements to make trigger expression constructor more consistent for different functions which have similar logic.
1. #count as a parameter for fuzzytime is allowed - but should be limited to seconds only.
- 'Timestamp not different from Zabbix server time for more than T seconds, then N = 1, 0 - otherwise'
2. For regexp, iregexp - there only seconds available but #count should be as well.
- 'Regular expression V matching last value in period T, then N = 1, 0 - otherwise'
- 'Regular expression V matching last value in period T, then N = 1, 0 - otherwise (non case-sensitive)'
3. str function should have similar form design as for example regexp
- 'Find string T in last (most recent) value. N = 1 - if found, 0 - otherwise'
Maybe other function should be checked as well