Skip to content

Help with regex pattern for AB#00000 #88

Closed Answered by codebydant
codebydant asked this question in Q&A
Discussion options

You must be logged in to vote

I think this works:

"^AB#[0-9]+ (feat|test|fix).*"

e.g.

AB#0 feat: my message

Including the scope will be

pattern: "^AB#[0-9]+ (feat|fix|test|docs|chore|style|refactor|ci|cd)\\((ci|mymodule)\\).*"

e.g.

AB#0 feat(ci): my message

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by codebydant
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant