Skip to content

Commit

Permalink
Merge pull request #226 from netbox-community/revert-198-main
Browse files Browse the repository at this point in the history
Revert "Added square brackets to Community validation regex"
  • Loading branch information
cruse1977 authored Nov 18, 2024
2 parents 6cd7f50 + 47ea5cb commit 68723b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox_bgp/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class Community(BGPBase):
"""
value = models.CharField(
max_length=64,
validators=[RegexValidator(r'[\d\.\[\]\*]+:[\d\.\[\]\*]+')]
validators=[RegexValidator(r'[\d\.\*]+:[\d\.\*]+')]
)

class Meta:
Expand Down

0 comments on commit 68723b5

Please sign in to comment.