The requirement is to set the restrictions such that any new branches pushed to Stash from a developer's machine must follow our naming convention of
"feature/PPT-", "bugfix/PPT-", "hotfix/PPT-", "feature/QC",
"bugfix/QC*", or "hotfix/QC*".
This is the entry that needs to go to the Pre-receive hook for branch regex.
This will restrict the push from the developer Stash/Atlassian Sourcetree to branches which doesn't match this requirement.
Try to push to a branch feature/PPT-Test from the local Atlassian Source tree repo and it works.
However, to push to a branch feature/PPTRandom from the local Atlassian Source tree repo will fail as the regex doesn't match.
It's (dotstar) for wildcard