code tags added

pull/1024/head
hoergen 2020-09-26 10:45:55 +02:00 committed by GitHub
parent 5b045a5348
commit 409a8d1724
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ A post will be collapsed if at least one rule matches, but all matching rule nam
## Examples ## Examples
1. To block specific domains `body matches "/\\.example\\.com/"` 1. To block specific domains `body matches "/\\.example\\.com/"`
2. To block everything that contains the words `body matches "/Guten Morgen/" 2. To block everything that contains the words `body matches "/Guten Morgen/"`
3. To block every occurence of the word facebook with a space in front and after the word `body matches "//s facebook/s /"` 3. To block every occurence of the word facebook with a space in front and after the word `body matches "//s facebook/s /"`
4. To colapse every post that contains more than 1 image `body matches "/(?:(?:(?:\\[url(?:=.*)?\\])?\\[img(?:=.*)?\\].*\\[\\/img\\]\\s*(?:\\[\\/url\\])?)\\s*){2}/"` 4. To colapse every post that contains more than 1 image `body matches "/(?:(?:(?:\\[url(?:=.*)?\\])?\\[img(?:=.*)?\\].*\\[\\/img\\]\\s*(?:\\[\\/url\\])?)\\s*){2}/"`