Re: Exclude subfolders from index by folder name [message #1694 is a reply to message #1693] |
Sat, 26 August 2023 10:52 |
FoxTrot Engineering
Messages: 406 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
|
|
|