- Milyen billentyűzetet vegyek?
- AMD Ryzen 9 / 7 / 5 9***(X) "Zen 5" (AM5)
- Azonnali informatikai kérdések órája
- Végleg lemondott a régi gépekről a Steam
- AMD Navi Radeon™ RX 9xxx sorozat
- Azonnali alaplapos kérdések órája
- Kábel nélkül a Sapphire VGA-val
- NVIDIA GeForce RTX 5080 / 5090 (GB203 / 202)
- Házimozi belépő szinten
- Méretes és széles gaming monitorral bővült az MSI kínálata
-
PROHARDVER!
--- Még az új vizsgarendszer előtti információk, majd frissítjük! ---
Gyakran ismételt kérdések
Olvasd el a cikkeket itt.
Új hozzászólás Aktív témák
-
zsolti.22
senior tag
Van nekem egy csodás regexp részem a BGP-nél, amit ha még le is fordítanák, nem biztos, hogy jó lenne/megérteném. Tud segíteni egy regexpeket sokat használó emberke megérteni ezeket?
AS regular expression
This section explains the creation of a regular expression.
A regular expression is a pattern to match against an input string. When you build a regular expression, you specify a string that input must match. In the case of BGP, you specify a string that consists of path information that an input must match.
In the example in the section Path Filtering, you specified the string ^200$. You wanted path information that comes inside updates to match the string in order to make a decision.
A regular expression comprises:
• Range
A range is a sequence of characters within left and right square brackets. An example is [abcd].
• Atom
An atom is a single character. Here are some examples:
.
• The . matches any single character.
^
• The ^ matches the start of the input string.
$
• The $ matches the end of the input string.
\
• The \ matches the character.
-
• The _ matches a comma (,), left brace ({), right brace (}), the start of the input string, the end of the input string, or a space.
• Piece
A piece is one of these symbols, which follows an atom:
*
• The * matches 0 or more sequences of the atom.
+
• The + matches 1 or more sequences of the atom.
?
• The ? matches the atom or the null string.
• Branch
A branch is 0 or more concatenated pieces.
Here are some examples of regular expressions:
a*
• This expression indicates any occurrence of the letter "a", which includes none.
a+
• This expression indicates that at least one occurrence of the letter "a" must be present.
ab?a
• This expression matches "aa" or "aba".
_100_
• This expression means via AS100.
_100$
• This expression indicates an origin of AS100.
^100 .*
• This expression indicates transmission from AS100.
^$
• This expression indicates origination from this AS.
Refer to Using Regular Expressions in BGP for sample configurations of regular expression filtering.
Új hozzászólás Aktív témák
- Kérlek használd a keresőt, mielőtt kérdezel!
- Olvasd el a téma összefoglalót mielőtt kérdezel!
- A dumpok és a warez tiltott témának számítanak!
- laca223: Miért győz a kollektív meggyőződés akkor is, ha saját magát teszi tönkre?
- Milyen billentyűzetet vegyek?
- AMD Ryzen 9 / 7 / 5 9***(X) "Zen 5" (AM5)
- Azonnali informatikai kérdések órája
- Python programozás
- Végleg lemondott a régi gépekről a Steam
- AMD Navi Radeon™ RX 9xxx sorozat
- VoLTE/VoWiFi
- iPhone topik
- GoodSpeed: Munkaügyi helyzet Hajdú-Biharban: észak és dél
- További aktív témák...
- Lenovo ThinkPad X13 G2 13.3" -50% AMD Ryzen 5 Pro 5650U Hexa-core 16GB 512GB SSD FHD
- Gaming PC - R5 9600X,RTX 5070 12GB,32GB DDR5,1TB NVMe,850W
- Ultra PC - R7 7800X3D,RTX 5080 16GB,32GB DDR5,1TB NVMe,1200W
- Uhh Lenovo ThinkPad P15 G2 Tervező Vágó Laptop -75% 15,6" i5-11500H 32/1TB RTX A2000 4GB /1 Millió/
- Lenovo Legion 5 15ARH05H - Gamer Laptop
- BESZÁMÍTÁS! ASUS ROG GL10DH brand számítógép - R7 3700X 32GB DDR4 512GB SSD RTX 2060S 8GB 500W W11
- Google Pixel 10 Pro XL Moonstone Super Actua 120 Hz, Pro kamera 5 zoom 256 GB Használt,Gari
- BESZÁMÍTÁS! Gigabyte B760M i3 12100F 16GB DDR4 512GB SSD RX 7600 8GB Zalman T4Plus CoolerMaster 650W
- Dell Latitude 5330 - 13,3" touch, i5-1245U, 16GB RAM, SSD, EU bill., jó akku, számla, garancia
- GYÖNYÖRŰ iPhone 15 Pro Max 256GB Blue Titanium-1ÉV GARANCIA-Kártyafüggetlen, MS4091
Állásajánlatok
Cég: Laptopszaki Kft.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest
FecoGee
crok

