}
}
else {
- if (rspamd_regexp_match (cur_opt->data.re,
- opt->option, opt->optlen, FALSE)) {
+ if (rspamd_regexp_search (cur_opt->data.re,
+ opt->option, opt->optlen, NULL, NULL, FALSE, NULL)) {
found = true;
break;
Expect Symbol With Score SYMOPTS3 6.00
Do Not Expect Symbol SYMOPTS2
Do Not Expect Symbol SYMOPTS1
+
+Composites - Opts RE Hit 3
+ Scan File ${MESSAGE} opts=example.com->app.link
+ Expect Symbol With Score SYMOPTS4 6.00
+ Do Not Expect Symbol SYMOPTS2
+ Do Not Expect Symbol SYMOPTS1
\ No newline at end of file
expression = 'OPTS[sym2,/FoO\\//i]';
score = 6.0;
}
+ SYMOPTS4 {
+ expression = 'POSITIVE_A & OPTS[/>app.link$/i] & EXPRESSIONS';
+ score = 6.0;
+ }
}