Skip to content

Commit

Permalink
Update regex expression
Browse files Browse the repository at this point in the history
  • Loading branch information
jbemmel committed Oct 27, 2023
1 parent 29ea64f commit 551c3b9
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 551c3b9

Please sign in to comment.