Skip to content

Instantly share code, notes, and snippets.

@cedricvidal
Created March 11, 2019 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cedricvidal/8e1dce995d99ddd6812df7827dfc710d to your computer and use it in GitHub Desktop.
Save cedricvidal/8e1dce995d99ddd6812df7827dfc710d to your computer and use it in GitHub Desktop.
Extract JIRA Ticker from GIT branch name regexp
^(?'remote'[a-zA-Z]+)\/(?'sub'[a-zA-Z]+\/)?(?'jira_project'[A-Z]+)-(?'jira_ticket'[0-9]+).*$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment