}
</style>
-<a href="advancedcontentfilter">🔙 Back to Advenced Content Filter Settings</a>
+<a href="advancedcontentfilter">🔙 Back to Advanced Content Filter Settings</a>
# Advanced Content Filter Help
A post will be collapsed if at least one rule matches, but all matching rule names will be displayed above the collapsed content.
+## Examples
+
+
+
## Expression Syntax
+1. To block specific domains `body matches "/\\.spiegel\\.de/"`
+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 /"`
+4. To colapse every post that contains more than 1 image `body matches "/(?:(?:(?:\\[url(?:=.*)?\\])?\\[img(?:=.*)?\\].*\\[\\/img\\]\\s*(?:\\[\\/url\\])?)\\s*){2}/"`
+
+
+
### Supported Literals
- **strings** - single and double quotes (e.g. `'hello'`).
- **booleans** - `true` and `false`.
- **null** - `null`.
-A backslash (``\``) must be escaped by 4 backslashes (``\\\\``) in a string and 8 backslashes (``\\\\\\\\``) in a regex::
+A backslash (``\``) must be escaped by 2 backslashes (``\\``) in a string and 4 backslashes (``\\\\``) in a regex::
-`"a\\\\b" matches "/^a\\\\\\\\b$/"`
+`"a\\b" matches "/^a\\\\b$/"`
Control characters (e.g. ``\n``) in expressions are replaced with whitespace. To avoid this, escape the sequence with a single backslash (e.g. ``\\n``).
</thead>
<tbody>
<tr>
- <th>author-id</th>
+ <th>author_id</th>
<td>number</td>
<td>6</td>
</tr>
<tr>
- <th>author-link</th>
+ <th>author_link</th>
<td>string</td>
<td>https://friendica.mrpetovan.com/profile/hypolite</td>
</tr>
<tr>
- <th>author-name</th>
+ <th>author_name</th>
<td>string</td>
<td>Hypolite Petovan</td>
</tr>
<tr>
- <th>author-avatar</th>
+ <th>author_avatar</th>
<td>string</td>
<td>https://friendica.mrpetovan.com/photo/41084997915a94a8c83cc39708500207-5.png</td>
</tr>
<tr>
- <th>owner-id</th>
+ <th>owner_id</th>
<td>number</td>
<td>6</td>
</tr>
<tr>
- <th>owner-link</th>
+ <th>owner_link</th>
<td>string</td>
<td>https://friendica.mrpetovan.com/profile/hypolite</td>
</tr>
<tr>
- <th>owner-name</th>
+ <th>owner_name</th>
<td>string</td>
<td>Hypolite Petovan</td>
</tr>
<tr>
- <th>owner-avatar</th>
+ <th>owner_avatar</th>
<td>string</td>
<td>https://friendica.mrpetovan.com/photo/41084997915a94a8c83cc39708500207-5.png</td>
</tr>
<tr>
- <th>contact-id</th>
+ <th>contact_id</th>
<td>number</td>
<td>1</td>
</tr>
<td>urn:X-dfrn:friendica.mrpetovan.com:1:twit:978740198937907200</td>
</tr>
<tr>
- <th>thr-parent</th>
+ <th>thr_parent</th>
<td>string</td>
<td>urn:X-dfrn:friendica.mrpetovan.com:1:twit:978740198937907200</td>
</tr>
<tr>
- <th>parent-uri</th>
+ <th>parent_uri</th>
<td>string</td>
<td>urn:X-dfrn:friendica.mrpetovan.com:1:twit:978740198937907200</td>
</tr>
<tr>
- <th>content-warning</th>
+ <th>content_warning</th>
<td>string</td>
<td></td>
</tr>
<td>http://activitystrea.ms/schema/1.0/post</td>
</tr>
<tr>
- <th>object-type</th>
+ <th>object_type</th>
<td>string</td>
<td>http://activitystrea.ms/schema/1.0/bookmark</td>
</tr>
<td></td>
</tr>
<tr>
- <th>event-id</th>
+ <th>event_id</th>
<td>number</td>
<td>null
<tr>
<td></td>
</tr>
<tr>
- <th>rendered-hash</th>
+ <th>rendered_hash</th>
<td>string</td>
<td>b70abdea8b362dc5dcf63e1b2836ad89</td>
</tr>
<tr>
- <th>rendered-html</th>
+ <th>rendered_html</th>
<td>string</td>
<td>
Over-compensation #<a href="https://friendica.mrpetovan.com/search?tag=Street" class="tag" title="Street">Street</a> #<a href="https://friendica.mrpetovan.com/search?tag=Night" class="tag" title="Night">Night</a> #<a href="https://friendica.mrpetovan.com/search?tag=CarLights" class="tag" title="CarLights">CarLights</a> #<a href="https://friendica.mrpetovan.com/search?tag=Jeep" class="tag" title="Jeep">Jeep</a> #<a href="https://friendica.mrpetovan.com/search?tag=NoPeople" class="tag" title="NoPeople">NoPeople</a> #<a href="https://friendica.mrpetovan.com/search?tag=Close" class="tag" title="Close">Close</a>-up <div class="type-link"><a href="https://www.eyeem.com/p/120800309" target="_blank"><img src="https://friendica.mrpetovan.com/proxy/bb/aHR0cHM6Ly9jZG4uZXllZW0uY29tL3RodW1iL2IyZjAxOTczOGNiZWVmMDZlMmY4Yzk1MTdjNjI4NmE4YWRjZDNhMDAtMTUyMjE4NDgyMDY0MS82NDAvNDgw" alt="" title="Over-compensation Street Night Car Lights Jeep No | EyeEm" class="attachment-image"></a><br><h4><a href="https://www.eyeem.com/p/120800309">Over-compensation Street Night Car Lights Jeep No | EyeEm</a></h4><blockquote>Photo by @<a href="https://twitter.com/MrPetovan" class="userinfo mention" title="MrPetovan">MrPetovan</a></blockquote><sup><a href="https://www.eyeem.com/p/120800309">www.eyeem.com</a></sup></div>
<td>dfrn</td>
</tr>
<tr>
- <th>author-thumb</th>
+ <th>author_thumb</th>
<td>string</td>
<td>https://friendica.mrpetovan.com/photo/0cb3d7231eb751139d7d309c7c686c49-5.png?ts=1522941604</td>
</tr>
<tr>
- <th>owner-thumb</th>
+ <th>owner_thumb</th>
<td>string</td>
<td>https://friendica.mrpetovan.com/photo/0cb3d7231eb751139d7d309c7c686c49-5.png?ts=1522941604</td>
</tr>
<td></td>
</tr>
<tr>
- <th>event-created</th>
+ <th>event_created</th>
<td>date</td>
<td>null</td>
</tr>
<tr>
- <th>event-edited</th>
+ <th>event_edited</th>
<td>date</td>
<td>null</td>
</tr>
<tr>
- <th>event-start</th>
+ <th>event_start</th>
<td>date</td>
<td>null</td>
</tr>
<tr>
- <th>event-finish</th>
+ <th>event_finish</th>
<td>date</td>
<td>null</td>
</tr>
<tr>
- <th>event-summary</th>
+ <th>event_summary</th>
<td>string</td>
<td>null</td>
</tr>
<tr>
- <th>event-desc</th>
+ <th>event_desc</th>
<td>string</td>
<td>null</td>
</tr>
<tr>
- <th>event-location</th>
+ <th>event_location</th>
<td>string</td>
<td>null</td>
</tr>
<tr>
- <th>event-type</th>
+ <th>event_type</th>
<td>string</td>
<td>null</td>
</tr>
<tr>
- <th>event-nofinish</th>
+ <th>event_nofinish</th>
<td>string</td>
<td>null</td>
</tr>
<tr>
- <th>event-adjust</th>
+ <th>event_adjust</th>
<td>boolean</td>
<td>null</td>
</tr>
<tr>
- <th>event-ignore</th>
+ <th>event_ignore</th>
<td>boolean</td>
<td>null</td>
</tr>
</td>
</tr>
</tbody>
-</table>
\ No newline at end of file
+</table>