Simple File Name Pattern

FAR uses a simplyfied expression syntax to lookup file names, allowing the familiar construct *.ext to look up all files with extension "ext". The simple file name pattern syntax knows only four special characters, with the following meaning: Simple patterns are not case sensitive, "*.txt" and "*.TXT" are just the same.

Multiple simple patterns can be separated with comma (',') as in "*.html,*.htm". Whitespace before and after a pattern is discarded, thus " *.html , *.htm " is fine also.

The most notable difference to common regular expressions is the role of the dot (fullstop, '.'). In regular expressions it denotes "any character" but in simple patterns it denotes just a dot ('.').

Wherever you can use simple patterns, you will find a checkbox "Regular Expression" below the input field. Tick that checkbox if you want to use full regular expressions for the file name pattern instead of simple patterns.

Examples

*.txtmeans any file with extension "txt", finding "TXT", "Txt" and so on just as well.
my*means any file that begins with "my".
#*.!!!means any file that starts with a digit and has an extension of exactly three characters.
*.wsdl, *.xsdfinds wsdl and xsd files.
*.jp?gfind JPEG image file with extension "jpg" or "jpeg" (but also jpig and alike).
*.tar.gzfinds tarballs.