Variables in Trigger regexp

GkS

New member
Hi guys,

I am trying to make a trigger not fire multiple times by comparing it to a global var (int) using a regular expression. It doesn't seem to work, but I am also not pretty sure how to use the variable in this situation. Any ideas what I'm doing wrong?

1634649949741.png
 

GkS

New member
Ok, it worked, I had misspelled the expression.
Just for the record, the correct should be like this:

^((?!([v=my_battery])).)*$
 
Top