i'm trying to set rules for set branches on my repo, but having issues with the pattern to apply only to specific branches. ie rule to apply only to brances master,develop,release
Issue: the pattern isn't picking up the wrong branches
I tried looking through here, but it's working as expected https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch
I've tried, but not working with 0 branches or everything selected:
{^.*(master).*$,^.*(develop).*$}
[master,develop,release]
[master;develop;release]*
ps this one dose the opposite an applied all brances, but the listed ones:
*[!master|!develop|!release]*