Regular Expressions 101

Community Patterns

1...56789...11

Community Library Entry

0

Regular Expression
Java 8

"
^(?<branchType>hotfix|feature|maint)\/(?<tasMaMi>(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?<isTest>-test)?)\/(?<branchName>[\w\-\.\d]{1,30})$
"
gm

Description

tas-branch-validation

Submitted by doron-hafner - 2 years ago