Skip to content

Commit

Permalink
Update sros.py - regex to allow optional '/' character
Browse files Browse the repository at this point in the history
Based on community feedback
  • Loading branch information
jbemmel authored Oct 27, 2023
1 parent 29ea64f commit d032da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napalm_sros/sros.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d032da5

Please sign in to comment.