mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
a0de056299
Added the contains_all function, with basically the same role as contains_any but using logic AND instead of OR. Also added ccnorm_contains_all, that is the same of ccnorm_contains_any but with AND mode. Finally, fixed three wrong task IDs. Co-authored with Valerio Bozzolan. Bug: T21176 Change-Id: Ib0a8b783db6ce0d5db64771c8e0c70f0f8d13d36
1 line
60 B
Raku
1 line
60 B
Raku
contains_all("the foo is on the bar", "foo", "is on", "bar") |