Using version 2.51.2 (ocaml 4.04.0).
Trying to exclude a folder at the root (called build), but include any files ending in .err and .out at any depth underneath it.
Structure looks like
build/a/b/c/test/1.0/test.out
build/a/d/whatever/2.0/whatever.err
build/a/test.err
I tried
ignore = Path build
ignorenot = Regex·arnold-build\/(.*).(err|out)⬎
... this coughs up a "Malformed pattern" error. Also tried just to sync an entire subdir explicitly with this:
ignorenot = Path a/b/c/test/
But the "test" folder still doesn't sync.
How do I get just all the .err/.out files to sync, while ignoring everything else?