Regular Expressions 101

Library entries

show interfaces status

Vote

0

Regular Expression
python

"
(?:(?P<Port>\w+(?:(?:[\/]\d)?)+(?:(?:[.]\d)?)+)\s+(?P<Name>[\w_\/]+)?\s+(?P<Status>\w+)\s+(?P<Vlan>\w+)\s+(?P<Duplex>\w+)\s+(?P<Speed>\w+)\s+(?P<Type>[\w\-]+)(?:\s+)?)
"
gm

Description

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