Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(refs\/heads\/)?(master|release\/[0-9]+(\.[0-9]+)*?)$
/
gmx

Description

refs/heads/release/1.0.1 refs/heads/master master release/1.0.1

Submitted by AbdElraouf Sabri - 2 years ago (Last modified 2 years ago)