Regular Expressions 101

Community Patterns

2

object

PCRE2 (PHP >=7.3)
Json Object
Submitted by anonymous - 3 years ago

Parse conventional commits message

2

Regular Expression
PCRE2 (PHP >=7.3)

/
^([\w\s]+)(?:\((.+)\))?(!?): (.+)$
/
i

Description

Loading markdown...
Submitted by Alex Kinnee - 2 years ago