Can you use keywords or regex in Repository.refs query argument

Is it possible to use keywords or regular expression in the query argument of the Repository.refs field as in the example below?

... on Repository{
  name
  refs(first:3, refPrefix:"refs/heads/", query:"main OR master") {
    edges {
      node {
        name
      }
    }
  }
}
2 Likes