Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(feature|fix|docs|style|refactor|test|build|ci|performance)(\()([A-Z0-9]{2,10}-{1}[0-9]{1,})(\)){1}\:\s(add|remove|create|update|change|prepare)\s(.{3,100})$|^(Merge branch)( \'release\/)([0-9]+\.)([0-9]+\.)([0-9]+)(\')$|^(Initial commit)$|^(Prepare next release)$|^(Close release )([0-9]+\.)([0-9]+\.)([0-9]+)$|^(Apply suggestion to )(.{3,100})$
/
gm

Description

GitLab Path

Submitted by anonymous - 3 years ago