Regular Expressions 101

Sponsors

Library entries

1
python

test

learning regex in python
Submitted by anonymous - 6 years ago
1
python

Chord scanning

no description available
Submitted by anonymous - 6 years ago
1
python

#define

no description available
Submitted by anonymous - 6 years ago
1
python

parsing objdump output

parsing objdump output
Submitted by anonymous - 6 years ago
1
python

traceroute

no description available
Submitted by anonymous - 6 years ago
1
python

TLO con multiples UPLOAD

no description available
Submitted by anonymous - 6 years ago
1
python

Basic DOI

no description available
Submitted by anonymous - 5 years ago
1
python

extractor_RD_RT_Cisco

no description available
Submitted by anonymous - 5 years ago
0
python

ip

ip-adreese
Submitted by anonymous - 6 years ago
0
python

Newline matcher

new line matcher
Submitted by anonymous - 6 years ago

Regex to group output of $(ip addr) interface

Vote

1

Regular Expression
python

"
\d: ([\w@]+): <(.+)> mtu (\d+) qdisc (\w+) qlen (\d+)\n[ ]+(\w+\/\w+) ([\d:\w.]+) brd ([\d:\w.]+)\n?(?:(?: )+inet6? ([\d.:\/]+) (?:brd ([\d:\w.]+) )?scope (\w+) (?:\w+)?\n(?: )+valid_lft (\w+) preferred_lft (\w+))?
"
gm

Description

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