Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2016-01-11 14:13
Flavor·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
Open regex in editor

Description

no description available

Submitted by anonymous