zuul: use only RE2 syntax

Zuul has deprecated Perl-style regex expressions in favor of RE2,
and our zuul config file is generating warnings [0], so let's
fix this now before it becomes an issue.

[0] https://zuul.opendev.org/t/openstack/config-errors?project=openstack%2Fcinder-tempest-plugin

Depends-on: https://review.opendev.org/c/openstack/cinderlib/+/896658

Change-Id: I90c9cde9e825b49b94202708e7bffc3556288a6d
diff --git a/.zuul.yaml b/.zuul.yaml
index 986b1ce..80eabe8 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -136,7 +136,7 @@
     description: |
       This is a base job for lvm with lio & tgt targets
       with cinderlib tests.
-    branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria|wallaby)).*$
+    branches: ^(master|stable/(xena|yoga|zed|2\d\d\d\.[12])).*$
     parent: cinder-tempest-plugin-lvm-barbican-base-abstract
     roles:
       - zuul: opendev.org/openstack/cinderlib
@@ -224,7 +224,7 @@
     name: cinder-tempest-plugin-lvm-barbican-base
     description: |
       This is a base job for lvm with lio & tgt targets
-    branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
+    branches: ^stable/(ocata|pike|queens|rocky|stein).*$
     parent: cinder-tempest-plugin-lvm-barbican-base-abstract
     required-projects:
       - name: opendev.org/openstack/cinder-tempest-plugin
@@ -279,7 +279,7 @@
 # should this job be used on those branches
 - job:
     name: cinder-tempest-plugin-cbak-ceph
-    branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
+    branches: ^stable/(ocata|pike|queens|rocky|stein|train).*$
     vars:
       devstack_local_conf:
         test-config: