FoxTrot Search Forum
FoxTrot Search for macOS Forum

Home » Public Forums » FoxTrot Search User Forum » Exclude subfolders from index by folder name (filter index)
Re: Exclude subfolders from index by folder name [message #1694 is a reply to message #1693] Sat, 26 August 2023 10:52 Go to previous messageGo to previous message
FoxTrot Engineering
Messages: 385
Registered: April 2020
Senior Member
Could you give some use cases where using a pattern to skip some files is necessary, but would also match some folders that should not be skipped (or vice versa)? You can easily write a regex that only targets folders, or more accurately, the contents of these folders (like /cache/ ); however targeting files but not folders having the same name is probably not possible.

We are using PCRE2 for our regular expression engine.


Jérôme - FoxTrot Engineering
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New Index of folders/files
Next Topic: Just a little note of thanks
Goto Forum:
  


Current Time: Mon Jun 17 20:14:36 GMT+2 2024