Regular Expressions 101

Library entries

0
pcre2

IIC++ Script Parsing Regex

Regex for parsing IIC++ script.
Submitted by Vu Tung Lam - 4 hours ago
0
pcre2

入门学习

Submitted by anonymous - 21 hours ago
0
pcre2

exclude square brackets

exclude square brackets
Submitted by tarek - 2 days ago
0
pcre2

YouTube link parser

Validate an URI to YouTube video.
Submitted by anonymous - 5 days ago
0
python

Session Start/Close

Capturing Start/Close in IRC-logs
Submitted by Corpset - 7 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

Odoo parsing for Loki

Vote

0

Regular Expression
pcre2

/
^(?P<date>[^ ]+) (?P<time>[^ ]+) (?P<process_id>[^ ]+) (?P<level>[^ ]+) (?P<db>[^ ]+) (?P<app>[^:]+): (?P<message>(?P<ip>(?:[0-9]{1,3}\.){3}[0-9]{1,3})(?: - - \[[0-9]{2}\/[A-Za-z]{3}\/[0-9]{4}\s[0-9]+:[0-9]+:[0-9]+\] ")(?P<http>(?:[A-Z]+)) (?P<path>(?:[\/a-z0-9\._]*)) .*" (?P<response>(?:\d{3})) (?:-) (?P<http_size>\d+) (?P<http_time_total>\d+\.\d+) (?P<http_time_>\d+\.\d+)|.*)$
/
gmi

Description

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