BGP reg ex

Answered Question
Nov 25th, 2008

Hi,

What would ^550*$ mean?

I''m getting myself confused - I want to say permit anything originating from AS number 55001 to 55099.

Any help would be much appreciated!

Thanks,

J

I have this problem too.
0 votes
Correct Answer by Jon Marshall about 8 years 1 week ago

J

Your regex matches 550, 5500, 55000.

Try

^550[0-9][1-9]$

Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Loading.
Correct Answer
Jon Marshall Tue, 11/25/2008 - 04:23

J

Your regex matches 550, 5500, 55000.

Try

^550[0-9][1-9]$

Jon

Actions

This Discussion