Author Topic: Find in files filename patterns on windows  (Read 1974 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2428
  • Hero Points: 202
  • Text
Find in files filename patterns on windows
« on: May 29, 2013, 08:36:46 pm »
For FindInFiles I use something like this in "Exclude"
*.ex;*.dll;*.lib;*.pyc;*.exe;R.java;*.class;/bin/

I'd like to also exclude localization files which are in values-XX, where XX is the country code.
I don't want to list them all, so I tried all of these
;/values-*/;
;/values-??/;
;/values-;
;/*values-*/;

But these don't work.

;/values/;
;/values-de/;
Excludes things in values and values-de as expected.
*values-*
Seems to do the trick, but risks excluding files with names that include "values-" (odd for sure).

What is expected and supported here?

Is the "/" taken to mean folder name, and then wildcards don't match?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6124
  • Hero Points: 470
Re: Find in files filename patterns on windows
« Reply #1 on: May 29, 2013, 08:59:36 pm »
I don't think there is any pattern matching on folders right now. Only the last name part supports a pattern. Its very likely that we will support ant-like pattern matching in the future which could handle fancy path matching like this.