Update protected branch and protected tag settings interface to consider regex
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=491240)
</details>
<!--IssueSummary end-->
The protected branch and protected tag UI needs to indicate when a protected ref is set to match ref names with regex.
When creating a protected branch or protected tag (either through the specific settings forms or through the branch rules modal) we add an input for when `name` should represent a regex.
issue