Skip to content

Updated require-jira-issue.sh#295

Open
sandeeprayala wants to merge 1 commit intogithub:masterfrom
sandeeprayala:patch-2
Open

Updated require-jira-issue.sh#295
sandeeprayala wants to merge 1 commit intogithub:masterfrom
sandeeprayala:patch-2

Conversation

@sandeeprayala
Copy link
Copy Markdown

@sandeeprayala sandeeprayala commented Feb 11, 2020

'-' is a special character in regex when you use inside character class [], it stands for range when it appears anywhere else except

As the first character in class or after [^]
At the end of character class
so your regex should be -- 'JIRA-[0-9]+'

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants