AdvancedFiltering

From Shareaza Wiki
Jump to navigation Jump to search
  Languages:

[[::AdvancedFiltering|English]] • [[::AdvancedFiltering/de|Deutsch]] • [[::AdvancedFiltering/es|Español]] • [[::AdvancedFiltering/fr|Français]] • [[::AdvancedFiltering/he|עברית]] • [[::AdvancedFiltering/it|Italiano]] • [[::AdvancedFiltering/nl|Nederlands]] • [[::AdvancedFiltering/pl|Polski]] • [[::AdvancedFiltering/pt|Português]] • [[::AdvancedFiltering/ru|Русский]] • [[::AdvancedFiltering/zh-hant|‪中文(繁體)]]

e
  Recovered

This page has been recovered from pantheraproject*net. It's content is not formatted properly and the information given may not be accurate.

This site have 2 recoveries of the same. First one is better formatted, but second ne can have more information. First one is dated, but second one no. They should be verified and merged in one full version, also updated if needed. OCE

e


AdvancedFiltering

Search filtering syntax

The latests versions of Shareaza now have some filtering improvements that can be used in your search. If you click on the "more" button next to the filter box, you'll find a checkbox with name "Reg. Exp" to enable this kind of filtering. Here's a brief introduction to these filters:

  • The minus sign (-) means "take off all results that contain this word". So, if you search for a film and add the -french message, you'll take all the results with the word french. You can use it for incomplete words, so if you put -fr in the filtering box, you'll filter off the word French, but also the word Africa.
  • The <_> mark means "all the search terms". If your search was Angelina Winona, you'll get results with any of the words, but if you include the <_> mark in the filter box, you'll only get the results with both words.
  • The <n> mark (n is a number) means "the word in the position n". Sometimes you get unwanted results because of automated fake hosts that pick your search and create a fake file with that terms. One idea is putting a fake word in the search box and then delete it. If you want to search Angelina Winona, you can put in the search box the terms Angelina Winona Fakeword and filter with -<3>. You'll get only the results with at least one of the two words.
  • The asterisk (*) means "the preceding sign zero or more times". If you filter -google, you'll be filtered against the word google but if you filter with -goo*gle you'll filter out gogle, google, google or gooooooogle.
  • The quotation marks (") mean "exactly what's written", so if you filter with "angelina winona" you won't get results like winona angelina or angelina natasha winona.
  • The \d means "a digit". If you search for the first part of a film, you can use the -\d to filter a film 2, a film 3...
  • The plus sign means "one or more of this". This works on -gooo+gle. You'll get google, but not goooooogle.
  • The brackets ( [ and ] ) mean "the characters included here". This may be used if you want to find 1990, 1991 or 1992, you can filter "199\d -199[3-9]"
  • The { and } marks mean in the {n,character} "this character at last n times". So, you can filter g{2,o}gle to find google, gooogle or goooooogle, but not gogle.
  • The . (dot) sign is not recognized as a dot sign, because it has different meanings in the code. You must write \. to specify it.
  • The . (dot) sign means "any character".
  • The $ means "no chars beyond here". So \.mov$ will mean "all files ending in .mov".
  • The | (pipe) sign means "one of this". ((right)|(rigth)) will filter any search with one of the words (useful with difficult names or words).

Remember also that you can use it in your own security filters.

Here you can find more info about regular expression Regular-Expressions.info


Retrieved from "http://www.pantheraproject.net/wiki/index.php?title=AdvancedFiltering"end content

  • This page was last modified on October 19, 2008, at 10:50.


Copyright © 2002-2009 Shareaza Development Team.

Proud to be Open Source.


Search filtering syntax

The latests versions of Shareaza now have some filtering improvements that can be used in your search. If you click on the "more" button next to the filter box, you'll find a checkbox with name "Reg. Exp" to enable this kind of filtering. Here's a brief introduction to these filters:

   * The minus sign (-) means "take off all results that contain this word". So, if you search for a film and add the -french message, you'll take all the results with the word french. You can use it for incomplete words, so if you put -fr in the filtering box, you'll filter off the word French, but also the word Africa.
   * The <_> mark means "all the search terms". If your search was Angelina Winona, you'll get results with any of the words, but if you include the <_> mark in the filter box, you'll only get the results with both words.
   * The <n> mark (n is a number) means "the word in the position n". Sometimes you get unwanted results because of automated fake hosts that pick your search and create a fake file with that terms. One idea is putting a fake word in the search box and then delete it. If you want to search Angelina Winona, you can put in the search box the terms Angelina Winona Fakeword and filter with -<3>. You'll get only the results with at least one of the two words.
   * The asterisk (*) means "the preceding sign zero or more times". If you filter -google, you'll be filtered against the word google but if you filter with -goo*gle you'll filter out gogle, google, google or gooooooogle.
   * The quotation marks (") mean "exactly what's written", so if you filter with "angelina winona" you won't get results like winona angelina or angelina natasha winona.
   * The \d means "a digit". If you search for the first part of a film, you can use the -\d to filter a film 2, a film 3...
   * The plus sign means "one or more of this". This works on -gooo+gle. You'll get google, but not goooooogle.
   * The brackets ( [ and ] ) mean "the characters included here". This may be used if you want to find 1990, 1991 or 1992, you can filter "199\d -199[3-9]"
   * The { and } marks mean in the {n,character} "this character at last n times". So, you can filter g{2,o}gle to find google, gooogle or goooooogle, but not gogle.
   * The . (dot) sign is not recognized as a dot sign, because it has different meanings in the code. You must write \. to specify it.
   * The . (dot) sign means "any character".
   * The $ means "no chars beyond here". So \.mov$ will mean "all files ending in .mov".
   * The | (pipe) sign means "one of this". ((right)|(rigth)) will filter any search with one of the words (useful with difficult names or words). 

Remember also that you can use it in your own security filters.