Add advancedcontentfilter addon #586

Merged
MrPetovan merged 12 commits from task/add-advancedcontentfilter-addon into develop 2018-05-01 11:05:56 +02:00
Showing only changes of commit 87a392a3c7 - Show all commits

[advancedcontentfilter] Update documentation about backslashes

Hypolite Petovan 2018-04-18 23:49:15 -04:00

View file

@ -45,9 +45,9 @@ A post will be collapsed if at least one rule matches, but all matching rule nam
- **booleans** - `true` and `false`. - **booleans** - `true` and `false`.
- **null** - `null`. - **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``). Control characters (e.g. ``\n``) in expressions are replaced with whitespace. To avoid this, escape the sequence with a single backslash (e.g. ``\\n``).