Skip to content

[Help] regex pattern for AB#000000 #11

Open
@codebydant

Description

@codebydant

Hi @tim-actions,

Thanks for this wonderful tool. I have been struggling to find the correct regex pattern to check my commit message type:

AB#000000 type: mymessage

I have been using:

/^AB#[0-9]+ (?:fix|feat|docs|tests)/i

AB#[0-9]+ (?:fix|feat|docs|tests): m[A-Za-z0-9]+

and is not working, could you help me with this pattern? my idea is to check all the conventional commit types including breaking changes, but following the AB standard.

pattern: ^AB#[0-9]+ (feat|test|fix).*
    error: Failed to find fix in subject
    one_pass_all_pass: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions