Menu

#493 How to list multiple exclude (and include ?) directories?

1.6.18
New
nobody
None
Medium
Task
2018-01-20
2017-06-06
Thomas
No

When I look at the main windows of grepWin then I can see an entry field "Exclude dirs".
Plural means users can enter multiple directories.
How do I do this?
I tried concatenation with commas but without success:

D:\work\proj1,D:\data\logfiles\2017.04\

How does it work otherwise?

Furthermore I am not sure if multiple dirs are allowed in "Search in" entry field.
If not: Could you make it feasible?

It should be rememebered in Preset as well.

Thank you
Thomas

Discussion

  • Stefan Kueng

    Stefan Kueng - 2017-06-09

    when you hover the mouse pointer over the edit field, you'll see a tooltip showing:

    you can exclude directories, e.g. CVS and images
    Example: ^(CVS|images)$
    

    So to exclude proj1 and logfiles, enter
    ^(proj1|logfiles)$

     
  • Lysathor

    Lysathor - 2018-01-20

    The tooltip of the direcory name search field says that "|" is the separator.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.