title: Pattern matching in GitHub GraphQL query
body: <p>I'm trying to query the branch protection rules which has the similar patterns using wildcards. Any suggestion are welcome.</p>
  
  <pre><code>query {
    repository(owner:"user",name: "repo") {
      branchProtectionRules(first: 10) {
        nodes {
            pattern
              }
          }
      }
    }
  </code></pre>
  
  <p>O/P:</p>
  
  <pre><code>{
      "data": {
          "repository": {
              "branchProtectionRules": {
                  "nodes": [
                      {
                          "pattern": "release"
                      },
                      {
                          "pattern": "release-220"
                      }
                  ]
              }
          }
      }
  }
  </code></pre>
  
  <p>Is there a way to find the pattern fields with release*</p>