Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^(\[(WIP|Draft)\]|(WIP|Draft))(:|\s)?
"
gm

Description

Detect WIP strings in a git commit.

Submitted by anonymous - 2 years ago