With this configuration if I have incoming routes that have the communities [0:1 0:12] then they are matched against statement1 of example-policy. However, this should not be the case because ^0:1$ should only match against the community [0:1].
To reproduce:
Create a network and peer an ExaBGP with GoBGP.
Configure GoBGP with the configuration shown above.
I also found that if I only give 0:1 in the regular expression, then it is converted to ^0:1$ internally. Also, the regex ^[10][10]?:[1-2][1-2] [20]:[1-2][1-2]$ does not match with [0:1 0:12].
I have a the following router configuration at startup:
With this configuration if I have incoming routes that have the communities [0:1 0:12] then they are matched against statement1 of example-policy. However, this should not be the case because ^0:1$ should only match against the community [0:1].
To reproduce:
Expected behavior: The route must be denied.