Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Gitlab - Branch name
Open Workspace
PCRE2 (PHP)
Match
Updated 2021-06-30 22:35
1
Regular Expression
/
(
^
(
(
feature
|
bugfix
)
\/
[
A
-
Z
]
+
-
\d
+
)
|
^
(
release
\/
(
R2
\d
)(
-
)
\d
{2}
.\d.\d
)
)(
[
a
-
z-
]
+
)?
/
gm
Description
Branch name for Gitlab's Push Rules
Submitted by
Anonymous