mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-25 06:26:03 +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)
|
||
|
|