Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^([A-Z]+-\d+)(\s\([A-Z]+-\d+\))?(:\s)(([a-zA-Z0-9&, ])+)
/
gm

Description

Commit message for Gitlab's Push Rules

Submitted by anonymous - 3 years ago (Last modified 3 years ago)