mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-18 08:30:52 +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)
|
||
|
|