summaryrefslogtreecommitdiff
path: root/client/html
diff options
context:
space:
mode:
authorrr- <rr-@sakuya.pl>2017-04-24 21:51:49 +0200
committerrr- <rr-@sakuya.pl>2017-04-24 21:59:38 +0200
commitba4df16499ef5305db50311edfcd39c506d3a4cf (patch)
tree3475b5e4f97c180221c9d0ad9c3ce1f8f84198ea /client/html
parent9814b132c3bfcd6134236376b43fbc1ad1df6088 (diff)
server/search: add search term escaping
Diffstat (limited to 'client/html')
-rw-r--r--client/html/help_search_general.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/client/html/help_search_general.tpl b/client/html/help_search_general.tpl
index a7b05d8..6a5cfd5 100644
--- a/client/html/help_search_general.tpl
+++ b/client/html/help_search_general.tpl
@@ -80,6 +80,9 @@ take following form:</p>
<code>,desc</code> to control the sort direction, which can be also controlled
by negating the whole token.</p>
+<p>You can escape special characters such as <code>:</code> and <code>-</code>
+by prepending them with a backslash: <code>\\</code>.</p>
+
<h1>Example</h1>
<p>Searching for posts with following query:</p>
@@ -89,3 +92,8 @@ by negating the whole token.</p>
<p>will show flash files tagged as sea, that were liked by seven people at
most, uploaded by user Pirate.</p>
+<p>Searching for posts with <code>re:zero</code> will show an error message
+about unknown named token.</p>
+
+<p>Searching for posts with <code>re\:zero</code> will show posts tagged with
+<code>re:zero</code>.</p>