Sentaroh/SMBSync2

Exclude filter doc question/update

Opened this issue · 1 comments

section 2.2.1 in https://sentaroh.github.io/Documents/SMBSync2/SMBSync2_Desc_EN.htm#_Toc70733638

Filter

Please input such as DSC *.JPG. Please do not enter the directory selection filters with regular expressions.

mentions wild cards.

I found through experimentation that wild cards do not work for directory names when using directory slashes /. For example, this does NOT work/exclude

*/cache/*

but the below does:

*cache*

Is this expected?

As per #256 I'm happy to help out with a PR.

what does:

Please do not enter the directory selection filters with regular expressions.

Mean? Does this mean under the covers some regex conversion takes place?