Regular Expressions 101

Library entries

0
pcre2

YouTube link parser

Validate an URI to YouTube video.
Submitted by anonymous - 2 days ago
0
pcre2

UFUNCTION parser

Breaks any UFUNCTION into parts
Submitted by anonymous - 7 days ago
0
pcre2

webforms detection

Rule to identify web form collections
Submitted by Pandurang Patil - 9 days ago
0
pcre2

Sonepar - BW5 Service Mapping

Common Mapping
Submitted by anonymous - 11 days ago

Conventional Commits for commitcheck.com

Vote

1

Regular Expression
pcre2

/
\A(?:(?:^(?<type>feat|fix|ci|chore|docs|test|style|refactor|build|perf|revert)(?:\((?<scope>.+)\))?(?<breaking>!)?:\s(?<subject>.{3,})$)(?:(?:(?<BLANK_LINE>\n^$\n)(?<body>(?:^.{3,}$\n?)+))?(?<BLANK_LINE2>\n^$\n)(?:(?<breaking_change>^BREAKING\sCHANGE:\s[\s\w]+$)\n)?(?:(?<footer>^\w+:\s.+)))?\n?|)\Z
/
gm

Description

Loading markdown...
Submitted by https://github.com/CCXXXI - 2 months ago