Expression Types |
Top Previous Next |
FileLocator supports the following expression types:
Boolean Expressions
Boolean expressions combine individual search phrases using the AND, OR, NOT, LIKE and NEAR operators. For more information see Boolean Expressions.
Boolean RegEx Expressions
Boolean RegEx expressions are a special type of Boolean expression that allow regular expressions to be combined using the AND, OR, and NOT operators. For more information see Boolean Expressions.
Whole Word Expressions
Whole Word expressions match the search phrases exactly as typed ignoring partial word matches. Since Whole Word expressions are a special type of Boolean expression individual search phrases can be combined using the AND, OR, and NOT operators. For more information see Boolean Expressions.
DOS Expressions
DOS expressions are usually used to specify groups of files. Use a semi-colon to specify multiple groups, e.g.
The expression *.cpp;*.h searches for files that end with .cpp or .h
The characters '<' and '>' can be used to match the beginning and end of a file name, e.g.
The expression <file* only matches files that begin with the term file and NOT files that simply have the term file in them.
For more information see DOS Expressions.
Plain Text
Plain text matching will match the text as entered (ie literally).
Regular Expression
FileLocator Pro can be configured to use Perl compatible regexp syntax or the Classic FileLocator Pro syntax in the Options tab. Basic regular expression can be built using the Expression Wizard
Classic syntax
FileLocator Pro's classic regexp syntax is based on the most commonly used regular expression elements, more information can be found in the Quick Start section.
Perl compatible syntax
Perl compatible regexp syntax is based around the Boost regular expression engine and includes not only the functionality of the 'classic' regular expression engine but also additional Perl style expression enhancements detailed here: http://www.boost.org/doc/libs/release/libs/regex.
File Hash
If the content type is set to File Hash then each file is put through a number of hashing algorithms (as defined in the Options tab). The resulting hashes are returned as lines in a text file with each hash on a new line. The specified Containing text value is matched against each hash in the list.
|