I’m confused about usage with regex patterns. I’m not able to replicate how they work using the standard patterns. For example, I have the following that works using original patterns. I want to get only the /bu/quick_dumps/current/ contents, from the system root. (I do have other subdirs I want, using the same setup, this is just one)
+bu/
+bu/quick_dumps/
+bu/quick_dumps/current/*
-bu/*
-*
If I try this with regex filters, the below excludes /bu completely, not what I want.
i:^bu/quick_dumps/current/.*
e:.*
I tried replicating the original pattern style as well, which pulls in all /bu contents, again, not what I want.
i:^bu
i:^bu/quick_dumps
i:^bu/quick_dumps/current/.*
e:.*
If I include any sort of e:^bu/.* at all, it will exclude the entire /bu folder, even the one I previously included.
Also, if I don’t use the ^ character at the start, it pulls in another folder /zbu.
Anyway, how do I accomplish this with regex patterns? Ultimately what I want is a few separate folders in the system.
/bu/quick_dumps/current/*
/data/web/cli/*
/home/greg/*
I can accomplish this fine with the original patterns, but I’d like to use regex for more flexibility later. Thanks for any help!