mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 13:46:48 +00:00
7b06be0204
This is because there are many filters using this feature. Moreover, it could make it a little easier to add new arguments, just like dangling commas in PHP arrays do. Also re-align the CachingParser code of doLevelFunctions to the one in the old Parser. Bug: T153251 Change-Id: Ie4325159f47310788da57415a5e36e62aa4efad0
11 lines
215 B
Raku
11 lines
215 B
Raku
contains_all("the foo is on the bar", "foo", "is on", "bar") &
|
|
!(contains_all(['foo', 'bar', 'hey'], 'foo', 'bar', 'sup')) &
|
|
contains_all([1, 2, 3], '1', '2', '3') &
|
|
contains_all(
|
|
'base',
|
|
'b',
|
|
'a',
|
|
's',
|
|
'e',
|
|
)
|