Skip to content

Wrong regexp #417

@ValorLin

Description

@ValorLin

https://github.com/marionebl/commitlint/blob/031ab00c06c5069748b61996cc9411b12a12ca73/%40commitlint/is-ignored/src/index.js#L6

image
It should be false.


Original Regexp

^(Merge pull request)|(Merge (.*?) into (.*?)|(Merge branch (.*?))(?:\r?\n)*$)

image


Correct Regexp

^((Merge pull request)|(Merge (.*?) into (.*?)|(Merge branch (.*?)))(?:\r?\n)*$)

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions