Regular Expressions 101

Library entries

0
pcre2

入门学习

Submitted by anonymous - 6 hours ago
0
pcre2

exclude square brackets

exclude square brackets
Submitted by tarek - a day ago
0
pcre2

YouTube link parser

Validate an URI to YouTube video.
Submitted by anonymous - 4 days ago
0
javascript

test

test
Submitted by anonymous - 7 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