Regular Expressions 101

Library entries

0
python

Author cite

Get author names from shitty import
Submitted by anonymous - 5 hours ago
0
dotnet

for killerswim

a
Submitted by anonymous - 19 hours ago
0
python

Session Start/Close

Capturing Start/Close in IRC-logs
Submitted by Corpset - 7 days ago
0
javascript

test

test
Submitted by anonymous - 8 days ago
0
python

PLDI regex 3

for pldi answer
Submitted by PlaceReporter99 - 9 days ago
0
python

PLDI regex 2

for pldi answer
Submitted by PlaceReporter99 - 9 days ago
0
python

PLDI regex 1

For pldi answer
Submitted by PlaceReporter99 - 9 days ago
0
python

Dyno warning regex

Used to separate things in dyno warning
Submitted by anonymous - 9 days ago
0
python

Hesla ISJ

ISJ
Submitted by anonymous - 11 days ago
0
python

100-4300

match 100, 200, 300 upto 4300
Submitted by anonymous - 11 days ago

Bespoke NGINX Log Parse

Vote

0

Regular Expression
python

r'
(?P<ip>\S*) (?P<firstseperator>-) (?P<userid>\S+|-) (?P<timestamp>\[\S+ \S+) "(?P<URL>\S+|\S+ \S+ [A-Z/0-9.]+)" (?P<http_code>[0-9]+) (?P<guessing_size>[0-9]+) "(?P<endpoint_url>\S+|-)" "(?P<client_and_version>[a-zA-Z/0-9.-]+)
'
gm

Description

Loading markdown...
Submitted by Simon - 2 months ago