Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ui/include/classes/parsers/CExpressionParser.php')
-rw-r--r--ui/include/classes/parsers/CExpressionParser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/include/classes/parsers/CExpressionParser.php b/ui/include/classes/parsers/CExpressionParser.php
index 00cc351dd5f..faf4585d4af 100644
--- a/ui/include/classes/parsers/CExpressionParser.php
+++ b/ui/include/classes/parsers/CExpressionParser.php
@@ -655,7 +655,7 @@ class CExpressionParser extends CParser {
int $depth): bool {
$p = $pos;
- if (!preg_match('/^([a-z0-9]+)\(/', substr($source, $p), $matches)) {
+ if (!preg_match('/^([a-z0-9_]+)\(/', substr($source, $p), $matches)) {
return false;
}