Regular Expressions 101

Sponsors

Library entries

0
python

match html reg

match html reg
Submitted by anonymous - a month ago
0
python

sentence with colon regex

[\S\w]+\s?:\s?[\S▁]+
Submitted by wb - a month ago
0
python

2 parameters split by comma or arbitrary whitespace

title
Submitted by Sam Wagenaar - a month ago
0
python

WIP detector

Detect WIP strings in a git commit.
Submitted by anonymous - a month ago
0
golang

Kt SDK V2

kt SDKV2
Submitted by anonymous - a month ago
0
golang

GO SDK V2

Go SDK v2
Submitted by anonymous - a month ago
0
java

Password

Password
Submitted by Mohammed Elshaboury - a month ago
0
golang

REACT SDK V3

React SDK V3
Submitted by anonymous - a month ago
0
python

Content inside string

Will match any character inside " or '
Submitted by anonymous - a month ago
0
java

OmegaT

regular expressions used in OmegaT
Submitted by anonymous - 2 months ago

Conventional Commits RegEx

Vote

1

Regular Expression
python

"
\A(?:(?P<type>[^\(!:]+)(?:\((?P<scope>[^\)]+)\))?(?P<breaking>!)?: (?P<description>.+))(?:(?!(?:\n{2}^(?:BREAKING[ -]CHANGE|[a-zA-Z0-9_\-]+)(?:: | #\b)[^\n:]+(\n*\b)?)+)\n{2}(?P<body>(?:(?!\n{2}(?:^(?:BREAKING[ -]CHANGE|[a-zA-Z0-9_\-]+)(?:: | #\b)[^\n:]+(\n*\b)?)+).|\n+?)+?))?(?:\n{2}(?P<footers>(?:^(?:BREAKING[ -]CHANGE|[a-zA-Z0-9_\-]+)(?:: | #\b)[^\n:]+(\n*\b)?)+))?(?:\n*)\Z
"
m

Description

Loading markdown...
Submitted by mccoderpy - 3 months ago