mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-12 14:15:16 +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)
|
||
|
|