Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
((?<=Description\:[\r\n|\r|\n])(\d+\.|\-)\ (?P<desc>(.+)\.))|((?<=\.[\r\n|\r|\n])((\d+\.|\-)\ (?P<desc2>(.+)\.))(?=[\r\n|\r|\n](\d+\.|\-)|[\r\n|\r|\n]*Reference))
"
g

Description

git-stuff commit template pattern

Submitted by jeffryangtoni24 - 6 years ago