Hi all,

I'm trying to find a regexp to match AS PATH including AS200 only, but AS200
can be contained more than one time (AS PATH prepending).
Example :
200 -> Match
200 200 -> Match
200 200 200 -> Match
200 200 200 300 -> Don't Match

I tried to use this regexp : ^(200)+$ but it doesn't work, why ?
However, the regexps : ^(200_)+$ seems to work.

Can someone explain me why the first regexp doesn't work ?

thanks.

Stephane




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=53956&t=53956
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to