Sublime Forum

Folder_exclude_patterns wildcard use? regex support?

#1

I’m not sure what the “*.” is for in these names, or how I would add a folder exclude entry for “any folder name containing the word backup”. Please help. Thanks!

0 Likes

#2

did you try *backup*?

0 Likes

#3

No, not yet. Does the pattern matching use the same syntax as Windows Explorer (i.e. “*” is the wildcard for “any characters in the name before/after this position”)?

0 Likes

#4

They’re file globs (i.e. not specific to windows per se); as implemented in Sublime, they’re documented at: https://www.sublimetext.com/docs/file_patterns.html

0 Likes

#5

Ah ok. Makes sense now. Thanks for the link!

0 Likes