From d032da578cc96992f3f60c228385ef8ec91aff70 Mon Sep 17 00:00:00 2001 From: J vanBemmel Date: Fri, 27 Oct 2023 11:16:05 -0500 Subject: [PATCH] Update sros.py - regex to allow optional '/' character Based on community feedback --- napalm_sros/sros.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/napalm_sros/sros.py b/napalm_sros/sros.py index e36e1f9..f405725 100644 --- a/napalm_sros/sros.py +++ b/napalm_sros/sros.py @@ -422,7 +422,7 @@ def compare_config(self): if not first_compare and "compare" in item: first_compare = True continue - elif "(ex)[]" in item: + elif re.search(r'\(ex\)\[\/?\]', item): continue elif "/environment more false" in item: continue