From e106cbac4795b047409836d48a8eaf0498848e9a Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Sun, 9 Nov 2025 04:52:10 +0100 Subject: [PATCH] Fix regexp match, avoid SyntaxWarning: invalid escape sequence --- vppcfg/schema.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vppcfg/schema.yaml b/vppcfg/schema.yaml index 123a3bd..11f23e0 100644 --- a/vppcfg/schema.yaml +++ b/vppcfg/schema.yaml @@ -4,8 +4,8 @@ loopbacks: map(include('loopback'),key=str(matches='loop[0-9]+'),required=False) bridgedomains: map(include('bridgedomain'),key=str(matches='bd[0-9]+'),required=False) vxlan_tunnels: map(include('vxlan'),key=str(matches='vxlan_tunnel[0-9]+'),required=False) taps: map(include('tap'),key=str(matches='tap[0-9]+'),required=False) -prefixlists: map(include('prefixlist'),key=str(matches='[a-z][a-z0-9\-]+',min=1,max=64),required=False) -acls: map(include('acl'),key=str(matches='[a-z][a-z0-9\-]+',min=1,max=56),required=False) +prefixlists: map(include('prefixlist'),key=str(matches='[a-z][a-z0-9-]+',min=1,max=64),required=False) +acls: map(include('acl'),key=str(matches='[a-z][a-z0-9-]+',min=1,max=56),required=False) sflow: include('sflow',required=False) --- vxlan: