mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +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)
|
||
|
|