Exclusions Regex Syntax

Hello, I’m trying to get stash to exclude hidden files and directories from my library ie those that start with a period.

The documentation indicates partial matches work so I thought ^\. would do the trick but it doesn’t. I tried a full match also ie ^\..*$ but no success with that either.

Can someone help me?

Thanks.

It matches against full path, so you want something like \\\.[[:word:]]+ on Windows or /\.[[:word:]]+ on UNIX.
You can replace [[:word:]] with \Sor similar if you want more inclusive names.

Got it thanks - I’ll give it a go.