<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://test.amule.szerverem.hu/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=213.154.68.135</id>
		<title>AMule Project FAQ - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=213.154.68.135"/>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Special:Contributions/213.154.68.135"/>
		<updated>2026-04-06T01:25:00Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/Search_regexp</id>
		<title>Search regexp</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Search_regexp"/>
				<updated>2008-02-17T01:52:30Z</updated>
		
		<summary type="html">&lt;p&gt;213.154.68.135: case sensitive....&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Description ==&lt;br /&gt;
This article explains how to tweak [[search]]es and some handy tips and tricks when searching with [[aMule]].&lt;br /&gt;
&lt;br /&gt;
Notice that this tricks may not work for you at some moments, since it depends on the [[server]]'s running software. However, most [[ED2k|ed2k]] servers run the latest version of [[lugdunum]], so this tricks will work for 99% of your servers.&lt;br /&gt;
&lt;br /&gt;
== First notes ==&lt;br /&gt;
Searches always search for all the words in the query and are case-insensitive.&lt;br /&gt;
&lt;br /&gt;
== Boolean search ==&lt;br /&gt;
Since aMule 2.1.0 boolean search is supported. This allows fine tweaked searching queries.&lt;br /&gt;
&lt;br /&gt;
The following operators are available:&lt;br /&gt;
&lt;br /&gt;
{|+ Operators&lt;br /&gt;
| '''''Operator''''' || '''Meaning'''&lt;br /&gt;
|-&lt;br /&gt;
| ''AND'' || Both the query before and after the operator must match&lt;br /&gt;
|-&lt;br /&gt;
| ''OR'' || Either the query before or after the operator must match&lt;br /&gt;
|-&lt;br /&gt;
| ''NOT'' || The query after the operator must not match&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Instead of ''AND'' you can use ''&amp;amp;'' and instead of ''NOT'' you can use simply ''!'' ('''not''' followed by a space).&lt;br /&gt;
&lt;br /&gt;
Example: ''xfree OR xorg''&lt;br /&gt;
&lt;br /&gt;
Example: ''drivers AND linux''&lt;br /&gt;
&lt;br /&gt;
Example: ''some_free_music AND NOT some_artist'' is equivalent to ''some_free_music &amp;amp; !some_artist''&lt;br /&gt;
&lt;br /&gt;
So, when you introduce a search query, it is read and each word is understood either as an operator (when it is ''AND'', ''&amp;amp;'', ''OR'', ''NOT'' ou ''!'') or as a query.&lt;br /&gt;
&lt;br /&gt;
Example: ''aMule AND MacOS'' will search for files containing ''aMule'' and ''MacOS'' in their filename.&lt;br /&gt;
&lt;br /&gt;
If no operator is found between two words, it defaults to the ''AND'' operator.&lt;br /&gt;
&lt;br /&gt;
Notice that operators are case sensitive so, while ''AND'' is an operator, ''and'' is a word.&lt;br /&gt;
&lt;br /&gt;
Words are any characters between between any of the following characters:&lt;br /&gt;
&lt;br /&gt;
{|+ Word separators&lt;br /&gt;
| '''Character''' || '''''Description'''''&lt;br /&gt;
|-&lt;br /&gt;
| , || ''Comma''&lt;br /&gt;
|-&lt;br /&gt;
| ; || ''Semicolon''&lt;br /&gt;
|-&lt;br /&gt;
| . || ''Dot''&lt;br /&gt;
|-&lt;br /&gt;
| : || ''Colon''&lt;br /&gt;
|-&lt;br /&gt;
| - || ''Dash''&lt;br /&gt;
|-&lt;br /&gt;
| _ || ''Underscore''&lt;br /&gt;
|-&lt;br /&gt;
| ' || ''Apostrophe''&lt;br /&gt;
|-&lt;br /&gt;
| / || ''Slash''&lt;br /&gt;
|-&lt;br /&gt;
| ! || ''Bang''&lt;br /&gt;
|-&lt;br /&gt;
|   || ''Space''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Null words are ignored.&lt;br /&gt;
&lt;br /&gt;
Example: ''aMule, MacOS'' is equivalent to ''aMule,MacOS'' which is equivalent to ''aMule AND MacOS''.&lt;br /&gt;
&lt;br /&gt;
You can group words and operators in brackets, to make them into a single query with each its sub-queries.&lt;br /&gt;
&lt;br /&gt;
Example: ''aMule &amp;amp; (MacOS OR Win)'' will search for al files containing ''aMule'' and either ''MacOS'' or ''Win'' it their filename.&lt;br /&gt;
&lt;br /&gt;
Brackets must always be matched.&lt;br /&gt;
&lt;br /&gt;
Example: ''aMule AND optionA)'' will fail since the closing bracket matches no opening bracket.&lt;br /&gt;
&lt;br /&gt;
Example: ''aMule OR (linux'' will aslo fail since the opening bracket matches no closing bracket.&lt;br /&gt;
&lt;br /&gt;
== Exact matches ==&lt;br /&gt;
Exact matches are an extension of boolean searches.&lt;br /&gt;
&lt;br /&gt;
You may want to search for a series of words together or some other string containing word separators in it. To do so, wrap that string with apostrophes.&lt;br /&gt;
&lt;br /&gt;
Example: ''aMule and '2.1.0' '' searches for files containing ''aMule'' and ''2.1.0'' in their filename (notice that the dots are no longer being interpreted as word separators).&lt;br /&gt;
&lt;br /&gt;
Example: ''aMule'2.1.0' '' is exactly equivalent as ''aMule and '2.1.0' '', since the apostrophe is still a word separator, so ''aMule'' will be one word and ''2.1.0'' another (and the default operator is ''AND'').&lt;br /&gt;
&lt;br /&gt;
Still, apostrophes will not wrap brackets.&lt;br /&gt;
&lt;br /&gt;
Example: ''aMule and 'distro (debian)' '' will fail because the aposotrophes appear to be opened but not closed, since there is a bracket (actually, two of them) in between.&lt;br /&gt;
&lt;br /&gt;
The only way to wrap brackets so that they can be searches as part of a word is wrapping them in double quotes. Double quotes can also wrap apostrophes.&lt;br /&gt;
&lt;br /&gt;
Example: ''&amp;quot;aMule's 2nd birthday (19-08-2005)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example: ''aMule&amp;quot;2.1.0&amp;quot; '' is exactly equivalent as ''aMule and &amp;quot;2.1.0&amp;quot; '', since the double quotes are still word separators, so ''aMule'' will be one word and ''2.1.0'' another (and the default operator is ''AND'').&lt;br /&gt;
&lt;br /&gt;
== Search for file except for extension ... ==&lt;br /&gt;
You can use the ''not &amp;lt;query&amp;gt;'' and ''!&amp;lt;query&amp;gt;'' boolean operators in the &amp;quot;extension&amp;quot; field in the [[Usage_Searches|search window]].&lt;br /&gt;
&lt;br /&gt;
This way you can search for files not containing the given extension, which is often very useful.&lt;br /&gt;
&lt;br /&gt;
== Find files similar or related to some other file ==&lt;br /&gt;
In the search box enter ''related::&amp;lt;hash&amp;gt;'' where ''&amp;lt;hash&amp;gt;'' is the is the [[hash]] value of some [[file]]. The results you will get will be files which are related or similar to that file.&lt;br /&gt;
&lt;br /&gt;
Actually, what the server does is read an index with all files all [[client]]s are sharing and see, out of those sharing the file with has value ''&amp;lt;hash&amp;gt;'', which are the most popular files. Low [[availability]] files aren't listed.&lt;br /&gt;
&lt;br /&gt;
== Search for hashes or exact file ==&lt;br /&gt;
If you want to search for any file which's has value is ''&amp;lt;hash&amp;gt;''' (where ''&amp;lt;hash&amp;gt;'' is any MD4 hash value), you can search for ''edk2:&amp;lt;hash&amp;gt;'' and you will get the results.&lt;br /&gt;
&lt;br /&gt;
As an extension, if you want to search for an exact file (maybe you want to see its availability or its [[rate]]) and searching it by its hash value gives several non-equal files, you can narrow the results by searching by the file's hash value ''&amp;lt;hash&amp;gt;'' and size ''&amp;lt;size&amp;gt;'': ''ed2k:&amp;lt;size&amp;gt;:&amp;lt;hash&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
Or even simply the file's [[ed2k link]] (anything after the file's hash in the link will be ignored): ''ed2k://|file|&amp;lt;name&amp;gt;|&amp;lt;size&amp;gt;|&amp;lt;hash&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The special 'Ñ' character ==&lt;br /&gt;
Current server and client software support [[unicode]] so it is no more an issue, but older versions would not support non-english characters, such as the ''ñ'' spanish character.&lt;br /&gt;
&lt;br /&gt;
As a solution, the ''ñ'' character was aliased to ''n''. So, searching for ''españa'' or ''espana'' would give the same results.&lt;br /&gt;
&lt;br /&gt;
This aliasing applies also to unicode-supporting clients and servers. The only thing you should notice is that in this case, since ''ñ'' is a different character than ''n'' and unicoded recognizes it, searching for words containing ''n'' will display results containing ''ñ'', but not the other way round.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
You can combine the above tricks, so someone could try to search something like ''related::&amp;lt;some_hash&amp;gt; AND Video AND SIZE &amp;gt; 1000000''&lt;br /&gt;
&lt;br /&gt;
== Version ==&lt;br /&gt;
Created by Jacobo221 on 14.12.05 at 03:42&amp;lt;br&amp;gt;&lt;br /&gt;
Updated by Vollstrecker on 18.01.08 at 13:53&lt;/div&gt;</summary>
		<author><name>213.154.68.135</name></author>	</entry>

	</feed>