The following constants can be used to configure what to filter by:
* {@link FILTER_BY_PATH}: The pattern is matched against the paths;
* {@link FILTER_BY_NAME}: The pattern is matched against the names.
The following constants can be used to configure how to match the
selected text:
* {@link MATCH_PREFIX}: Tests whether the pattern is a prefix of the
matched text;
* {@link MATCH_SUFFIX}: Tests whether the pattern is a suffix of the
matched text;
* {@link MATCH_REGEX}: Treats the pattern as regular expression.
By default, the mode FILTER_BY_PATH | MATCH_REGEX is used.