Regular Expressions 101

Library entries

ISIS Checking

Vote

1

Regular Expression
python

"
(?=[^%]*(?:%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 - 6 years ago