title: Github Branch protection rule, pattern for set branch names
body: <p>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</p>
  <p>Issue: the pattern isn't picking up the wrong branches</p>
  <p>I tried looking through here, but it's working as expected
  <a href="https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch" rel="nofollow noreferrer">https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch</a></p>
  <p>I've tried, but not working with 0 branches or everything selected:</p>
  <p><code>{^.*(master).*$,^.*(develop).*$}</code>
  <code>[master,develop,release]</code>
  <code>[master;develop;release]*</code></p>
  <p>ps this one dose the opposite an applied all brances, but the listed ones:
  <code>*[!master|!develop|!release]*</code></p>