param: '{$MACRO:"{{#VALUE}.regsub([0-9]+, \0)}"}+avg("Zabbix server:trap[\"{{#VALUE}.regsub([0-9]+, \0)}\"]",600) + {{#VALUE}.regsub([0-9], \0)} <> "{#VALUE} {#VALUE}"'
test case: "successfully found simple function #1"
test case: "successfully found simple function #2"
param: 'test(param0,23, param2)'
test case: "function name not found #1"
error: 'Incorrect function expression: test'
test case: "function name not found #2"
error: 'Incorrect function expression: test)('
test case: "function name not found #3"
error: 'Incorrect function expression: test'
test case: "function name not found #4"
error: 'Incorrect function expression: !!!'
test case: "function name not found #5"
error: 'Incorrect function expression: '
test case: "function name not found #6"
error: 'Incorrect function expression: '
test case: "function parameters not found #1"
error: "Incorrect function 'test' expression. Check expression part starting from: "
test case: "function parameters not found #2"
error: "Incorrect function 'test' expression. Check expression part starting from: param"
test case: "function parameters not found #3"
error: "Incorrect function 'test' expression. Check expression part starting from: param"
test case: "function parameters not found #4"
error: "Incorrect function 'test' expression. Check expression part starting from: param,"
test case: "function parameters not found #5"