Page 1 of 1

Globs or regexes in the Ignore List

Posted: 2012-01-05, 18:33 UTC
by whumann
I'm not sure I understand http://ghisler.ch/board/viewtopic.php?t=31433 correctly, so I hope this is no duplicate.
I appreciate the new environment variables in the ignore list. But I still have e.g.

c:\Programs\Opera_10.53\profile\cache\
c:\Programs\Opera11.10\profile\cache
c:\Programs\Opera11.60\profile\cache

in my list and would very much prefer to have

c:\Programs\Opera*\profile\cache\

instead (or \Opera[^\]*\ if it were regexes).
Is that possible?

Posted: 2012-01-05, 21:42 UTC
by Balderstrom
Not currently, asterix is only useable at the end of a path string, not in the middle: which makes the ignore list awkward at times.

The current format could fairly easily be extended to permit glob/regex by requiring the line to start with an invalid folder character, e.g.
<>:?\/*|

Code: Select all

<Regex> %WINDIR%\Programs\Opera.*\profile\cache\
Although it would require rewriting the internal code somewhat that filters a given listbox for what can be seen.

If Ghisler added proper Regex filtering to the QuickFilter, they could easily share code.