Adds partial support to UpdateActionById

This commit is contained in:
Felipe Zimmerle
2018-09-26 15:57:02 -03:00
parent 68398a51f3
commit 74841779f8
16 changed files with 922 additions and 712 deletions

View File

@@ -54,7 +54,8 @@ bool Rx::evaluate(Transaction *transaction, Rule *rule,
}
matches = re->searchAll(input);
if (rule && rule->getActionsByName("capture").size() > 0 && transaction) {
if (rule && rule->getActionsByName("capture",
transaction).size() > 0 && transaction) {
int i = 0;
matches.reverse();
for (const SMatch& a : matches) {