Regular Expressions 101

Sponsors

Library entries

0
python

AyL

Example of re and substitutions with csv file
Submitted by Ing Daniel Pérez - 3 months ago
0
python

Project

Project
Submitted by anonymous - 2 months ago
0
golang

S3 Path with ending .json

S3 Path with ending .json
Submitted by Sowmith - 2 months ago
0
python

foengz1

htmltag
Submitted by Foengz - 2 months ago
0
python

`git` URL

Match git URL components (including partial URLs).
Submitted by anonymous - 2 months ago
0
python

去除首尾空格

去除首尾空格
Submitted by anonymous - 2 months ago
0
python

Match files' extention

match files' extention
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