Regular Expressions 101

Sponsors

Library entries

0
python

提取js中的内容

获取变量值等
Submitted by anonymous - 2 months ago
0
python

Procurar por IPv4

Match em um IPv4 válido
Submitted by anonymous - 2 months ago
0
python

TCN Match

Extract info about STP TCNs
Submitted by anonymous - 2 months ago
0
python

MAC Address

Simple MAC address match/parsing expression
Submitted by cwichel - 2 months ago
0
python

scrape pdf

get data from pdf
Submitted by anonymous - 2 months ago
0
python

Meh

d
Submitted by anonymous - 2 months ago
0
python

Pick third section

Pick third section
Submitted by Charles - 2 months ago
0
python

Remove ANSI escape codes

Remove ANSI escape codes
Submitted by anonymous - 2 months ago

ntpq parser

Vote

0

Regular Expression
python

"
^(\+|-|\*| )(?P<remote>(?:[0-9]{1,3}\.){3}[0-9]{1,3})\s+(?P<refid>(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})|(.LOCL.|.INIT.))\s+(?P<st>\d+)\s+(?P<t>\w)\s+(?P<when>\d+|-)\s+(?P<poll>\d+)\s+(?P<reach>\d+)\s+(?P<delay>-?(?:\d+).?\d+)\s+(?P<offset>-?(?:\d+).?\d+)\s+(?P<jitter>-?(?:\d+).?\d+)
"
gm

Description

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