mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-30 16:54:18 +00:00
14 lines
184 B
Perl
14 lines
184 B
Perl
|
/* Examples from [[mw:Extension:AbuseFilter/Rules format#Boolean operations]] */
|
||
|
|
||
|
(1 | 1) &
|
||
|
(1 | 0) &
|
||
|
!(0 | 0) &
|
||
|
(1 & 1) &
|
||
|
!(1 & 0) &
|
||
|
!(0 & 0) &
|
||
|
!(1 ^ 1) &
|
||
|
(1 ^ 0) &
|
||
|
!(0 ^ 0) &
|
||
|
!(!1)
|
||
|
|