From 50397f99830c59cbfe2611f287f759687b8ceea8 Mon Sep 17 00:00:00 2001
From: Michele Alberti <michele.alberti@cea.fr>
Date: Tue, 11 Oct 2022 10:45:35 +0200
Subject: [PATCH] [ci] Respect gitlab regex syntax.

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fa4a4c7c834..d0c64bb4c69 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -145,9 +145,9 @@ eva-domains:
   <<: *eva_domains
   only:
     variables:
-      - $CI_COMMIT_BRANCH =~ /.*[-_/.][Ee]va[-_/.].*/
-      - $CI_COMMIT_BRANCH =~ /^[Ee]va[-_/.].*/
-      - $CI_COMMIT_BRANCH =~ /.*[-_/.][Ee]va$/
+      - $CI_COMMIT_BRANCH =~ /.*[-_\/.][Ee]va[-_\/.].*/
+      - $CI_COMMIT_BRANCH =~ /^[Ee]va[-_\/.].*/
+      - $CI_COMMIT_BRANCH =~ /.*[-_\/.][Ee]va$/
 
 eva-domains-nightly:
   <<: *eva_template
-- 
GitLab