Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?:[a-z0-9]+)\/(?:(?:v(?:10|\d)\.[0-9]{1,2}\.[0-9]{1,2})|week[0-9]{1,2})$
/
gm

Description

为了适配回迁项目gitlab代码分支的规范,因此设置根据不同的车型来切分不同的分支。这个是开发者根据不同车厂车型在本地切出来的分支命名规范

Submitted by ayunwSky - 2 years ago