-
Incident report
-
Resolution: Fixed
-
Blocker
-
1.9.7 (beta)
-
RedHat 5
Php 5.3.5
I have an web page regex item which includes a complex regex. When I try to create a trigger for this item, I get an error (either during template import or manual creation):
Error:
Unexpected symbol "." in trigger function. Check expression part starting from " ).([[:space:]].)+"].count(#1,event service = failed)}=1 " [CTrigger.create -> CTrigger.checkInput]
Here is the trigger:
{Template_App_CCWS:web.page.regexp[0.0.0.0,/ws-callcontrol-1.1/test,{$CCWS_PORT},"[Ss]moke [Tt]est = ([Ss]uccess|[Ww]arning|[Ff]ail).([[:space:]].)+"].count(#1,event service = failed)}=1
I attached the template and screenshot as well.