From 0e9f5003b1a7ab7c9a63ef802f150c72bf6bbef5 Mon Sep 17 00:00:00 2001 From: TheAMM Date: Sun, 15 Apr 2018 09:38:55 +0300 Subject: [PATCH] Update help.html search tips since search (quoting strings) has changed a bit. --- nyaa/templates/help.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/nyaa/templates/help.html b/nyaa/templates/help.html index 7854feb..f7de873 100644 --- a/nyaa/templates/help.html +++ b/nyaa/templates/help.html @@ -38,21 +38,25 @@
You can combine search terms with the | operator, such as - horrible|cartel. + foo|bar, to match any of the words instead all of them.
To exclude results matching a certain word, prefix them with -, - e.g. FFF -memesubs, which will return torrents with FFF in the - name, but not those which have memesubs in the name as well. + e.g. foo -bar, which will return torrents with foo in the + name, but not those which have bar in the name as well.
If you want to search for a several-word expression in its entirety, you can surround searches with " (double quotes), such as "foo bar", which would match torrents named foo bar but not - those named bar foo. + those named bar foo. You may also use the aforementioned | to group + phrases together: "foo bar"|"foo baz". You can negate the entire + group with - (e.g. -"foo bar"|"foo baz"), but not single items.
- You can also use ( and ) to signify precedence. + You can also use ( and ) to signify precedence, but quoted strings do + not honor this. Using (hello world) "foo bar" is fine, but quoted strings inside + the parentheses will lead to unexpected results.
{{ linkable_header("Reporting Torrents", "reporting") }}