Globbing in FTP search

When performing glob searches or matches in FTP search, the query term must match the whole file name.

Some characters get special meanings when performing a glob search/match:

*
The asterisk matches zero or more characters.
?
The question mark matches one character.
{
The left brace marks the the start of a 'multiple choices' region.
}
The right brace marks the end of a 'multiple choices' region.
,
The comma seperates alternate elements in a 'multiple choices' region.
\
The backslash is used to quote the next character, causing it to be interpreted literally, and not as a meta-character.

Examples

abc
Matches the filename abc
*abc*
Matches any filename containing abc
abc*
Matches any filename starting with abc
*abc
Matches any filename ending with abc
abc*def.
Matches any filename starting with abc and ending with def.
abc\*def.
Matches the filename abc*def.
abc.def
Matches the filename abc.def
abc?def
Matches any 7 character long filename starting with abc and ending with def.
abc\?def
Matches the filename abc?def
*.txt
Matches any filename ending with .txt
{abc,def,ghi}
Matches abc, def and ghi
*\{def*
Matches any filename containing {def

Restrictions

Globbing is a concept that exists only in the WWW gateway, and not in the search server. The query term is translated to a regular expression before it is sent to the search server. Thus the Try exact hits first option does not work as expected with glob type searches/matches, since the search server tries an exact hit with the translated query term.

Character ranges are not handled.

Zurück zur Suchseite