Gex Help - User Interface: Filters

Go to SourceForge project page...
Go back to help index
Gex Logo


Filter options Filters are used in Gex to limit display of file lists' and to manipulate selections.

Filters may be either regular expressions or shell wildcard matching, case sensitive or insensitive. Custom filter may be set for each view, or filters may be shared so change in one view affects other views. Filter settings may be saved in config file in ListLayout section and restored when Gex is restarted later. You can put FilterEntry item on toolbar. It is a text entry where you can enter your custom filtering expression.
Bug: you must press enter while cursor is in this entry to activate the filter even if you choose pattern from the combo list.

You may define unlimited amount of filter templates and load them any time you need a custom filter. Filter templates are stored in your config file.

Each file list has its own set of switches and custom filter. Switches are:


Filter Menu

Regular expressions

Gex supports POSIX regular expressions. There are plenty of manuals and other sources where you can read about them. For example:
man 7 regex

Wildcard Matching

Both simple and extended patterns introduced in `ksh' are supported. The patterns are written in the form explained in the following table where PATTERN-LIST is a `|' separated list of patterns:
?(PATTERN-LIST)
The pattern matches if zero or one occurrences of any of the patterns in the PATTERN-LIST allow matching the input string.
*(PATTERN-LIST)
The pattern matches if zero or more occurrences of any of the patterns in the PATTERN-LIST allow matching the input string.
+(PATTERN-LIST)
The pattern matches if one or more occurrences of any of the patterns in the PATTERN-LIST allow matching the input string.
@(PATTERN-LIST)
The pattern matches if exactly one occurrence of any of the patterns in the PATTERN-LIST allows matching the input string.
!(PATTERN-LIST)
The pattern matches if the input string cannot be matched with any of the patterns in the PATTERN-LIST.
Note: this is a copy/paste from libc info.


Project Gex, started by Jarek Dukat, 2002