Regular Expressions 101

Sponsors

Library entries

0
pcre2

INI values

not done yet
Submitted by anonymous - 21 days ago
0
pcre2

JOOMLA_KEY

Identifies Joomla! Language Keys
Submitted by anonymous - 23 days ago
0
pcre2

European VAT Numbers

EU Vat Number formats
Submitted by Jonathan Vicente - 24 days ago
0
dotnet

E-mail

My first simple e-mail validator regex :)
Submitted by anonymous - 25 days ago
0
pcre2

imperva_regex

A regex exercise for Imperva
Submitted by Lesley Miller - 25 days ago
0
pcre2

Before a word

Gets strings before or after a word
Submitted by SuperMAC - a month ago

Conventional Commits validation

Vote

6

Regular Expression
python

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

Description

Loading markdown...
Submitted by Krisque - 5 months ago