]> git.mxchange.org Git - friendica-addons.git/blobdiff - advancedcontentfilter/doc/advancedcontentfilter.md
[advancedcontentfilter] Change back link label in help
[friendica-addons.git] / advancedcontentfilter / doc / advancedcontentfilter.md
index 4fcaf68aa6e45a2d4a55a696aa70e931f8b3b060..ad1b4065ba61f75b3531a16cd1f58c08757472ca 100644 (file)
@@ -17,7 +17,7 @@
 }
 </style>
 
-<a href="advancedcontentfilter">🔙 Back to Addon Settings</a>
+<a href="advancedcontentfilter">🔙 Back to Advenced Content Filter Settings</a>
 
 # Advanced Content Filter Help
 
@@ -45,14 +45,11 @@ A post will be collapsed if at least one rule matches, but all matching rule nam
 - **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 4 backslashes (``\\\\``) in a string and 8 backslashes (``\\\\\\\\``) in a regex::
 
 `"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``).
+Control characters (e.g. ``\n``) in expressions are replaced with whitespace. To avoid this, escape the sequence with a single backslash (e.g.  ``\\n``).
 
 ### Supported Operators
 
@@ -85,13 +82,11 @@ The component comes with a lot of operators:
 * ``>=`` (greater than or equal to)
 * ``matches`` (regex match)
 
-    To test if a string does *not* match a regex, use the logical ``not``
-    operator in combination with the ``matches`` operator:
+To test if a string does *not* match a regex, use the logical ``not`` operator in combination with the ``matches`` operator:
 
-        'not ("foo" matches "/bar/")'
+`not ("foo" matches "/bar/")`
 
-    You must use parenthesis because the unary operator ``not`` has precedence
-    over the binary operator ``matches``.
+You must use parenthesis because the unary operator ``not`` has precedence over the binary operator ``matches``.
 
 #### Logical Operators