Regular Expressions 101

Community Patterns

1

sophos

Python
my first one
Submitted by bwl - 8 years ago
1

---

ECMAScript (JavaScript)
Submitted by rs - 8 years ago
1

me

Python
me
Submitted by me - 8 years ago
1

me

Python
paypal accounts
Submitted by jhon - 8 years ago

ISIS Checking

1

Regular Expression
Python

r"
(?=[^%]*(?:%ROUTING-ISIS-5-ADJCHANGE|%.*%ROUTING-ISIS-5-ADJCHANGE))^(?:[^:\n]*:){10}\s+\w+\s+\w+\s+(?P<ISIS_Remote_Host>[^ ]+)\s+\((?P<ISIS_Local_Interface>[^\)]+)\)\s\(L2\)\s(?P<ISIS_State>[\w]+),\s(?P<ISIS_Message>[\w+\s+]+)\s?$
"
mg

Description

Loading markdown...
Submitted by anonymous - 8 years ago