From d145811630caaaa95e6dda617b75a617dbd5027b Mon Sep 17 00:00:00 2001 From: oidocrop <10498-oidocrop@users.noreply.gitgud.io> Date: Sun, 31 Mar 2019 15:18:03 -0700 Subject: [PATCH] add "not equal" --- src/uncategorized/main.tw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uncategorized/main.tw b/src/uncategorized/main.tw index 72938077515..c837eb12118 100644 --- a/src/uncategorized/main.tw +++ b/src/uncategorized/main.tw @@ -88,7 +88,7 @@ /* Check if custom rules have an assignation operator */ <<set _RL = $defaultRules.length>> -<<set _regex = /[^=<>]=[^=<>]/gi>> +<<set _regex = /[^!=<>]=[^=<>]/gi>> <<set $rulesError = false>> <<for _itr = 0; _itr < _RL; _itr++>> <<if $defaultRules[_itr].condition.function == "custom" && $defaultRules[_itr].condition.data.match(_regex)>> -- GitLab