Thanks, that works, but only for immediate subdirectories.
- /home/dandv/mycoolapp/ matches
- /home/dandv/mycoolapp/lib matches
- /home/dandv/mycoolapp/lib/schema doesn't match
How can I have the preset be automatically selected on any subdirectory of /home/dandv/mycoolapp, recursively?
From the documentation, I understand that specifying two patterns is done because one matches a directory and the other one matches files.
The syntax I expected for the Directory masks
(where no files are concerned) was that of web server rules for matching URLs (which have similar paths). That is, simplified regular expressions. '*' matches any character, including '/', and to match only up to some directory, one could use a final '$':