| 1 |
/* Examples from [[mw:Extension:AbuseFilter/Rules format#Keywords]] */ |
| 2 |
|
| 3 |
("1234" like "12?4") & |
| 4 |
("1234" like "12*") & |
| 5 |
("foo" in "foobar") & |
| 6 |
("foobar" contains "foo") & |
| 7 |
("o" in ["foo", "bar"]) & |
| 8 |
("foo" regex "\w+") & |
| 9 |
("a\b" regex "a\\\\b") & |
| 10 |
("a\b" regex "a\x5C\x5Cb") |