Home arrow Routing arrow BGP arrow BGP Regular Expression

Google Translation


Advertisements


Who's Online

BGP Regular Expression PDF Print E-mail
Written by Cisconet   



1. Atom An atom is a single character, such as the following


.

Matches any single character

 

Matches the beginning of the input string

$

Matches the end of the input string

\

Matches the character

-

Matches a comma (,), left brace ({), right brace (}), the beginning of the input string, the end of the input string, or a space.




2. Piece A piece is an atom followed by one of the following symbols

*

Matches 0 or more sequences of the atom

+

Matches 1 or more sequences of the atom

?

Matches the atom or the null string




3. Branch A branch is a 0 or more concatenated pieces


a*

Any occurrence of the letter "a", including none

a+

At least one occurrence of the letter "a" should be present)

ab?a

This matches "aa" or "aba"

_100_

Via AS100

^100$

Origin AS100

^100 .*

Coming from AS100

^$

Originated from this AS







Please share this article with ;
Reddit!Del.icio.us!Google!Live!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Spurl!Wists!Simpy!Newsvine!Blinklist!Fark!Yahoo!Netvouz!RawSugar!Ma.gnolia!Squidoo!Free social bookmarking plugins and extensions for Joomla! websites!
 
< Prev   Next >

Sponsored Links


Sponsor II


What's your IP?

You are connecting to this site from: 38.103.63.16

Related Articles