Regular Expressions 101

Sponsors

Library entries

1
pcre

Parses -FileDateTimeUniversal structure

no description available
Submitted by anonymous - 6 years ago
1
javascript

ICD9

no description available
Submitted by anonymous - 6 years ago
1
javascript

HCPCS

no description available
Submitted by anonymous - 6 years ago
1
javascript

Javascript GUID regex

Validate GUID using a regex expression
Submitted by stom - 6 years ago
1
javascript

passage parser

no description available
Submitted by anonymous - 6 years ago
1
pcre

Kaluga Astral Error Parser

no description available
Submitted by anonymous - 6 years ago
1
pcre

Slow As Butts Regex

Look(ahead|behind)s are slow
Submitted by anonymous - 6 years ago
1
javascript

OPC UA Server

Gets IP-Address/host name from URL
Submitted by anonymous - 6 years ago
1
pcre

DustySky URI

This PCRE matches DustySky URI structure.
Submitted by Damian Torres - 6 years ago
1
pcre

Marrocco Phone

no description available
Submitted by anonymous - 6 years ago
1
javascript

bb

no description available
Submitted by anonymous - 6 years ago
1
pcre

(aller) + -z

no description available
Submitted by anonymous - 6 years ago
1
pcre

asas

no description available
Submitted by anonymous - 6 years ago

fluentd + auditd

Vote

1

Regular Expression
pcre

/
(^type=AVC msg=audit\((?<time>\w+).*: apparmor=\"(?<resolution>\w+)\" operation=\"(?<operation>\w+)\"( profile=\"(?<profile>[^ ]+)\"){0,1}( name=\"(?<name>[^ ]+)\"){0,1} pid=(?<pid>\d+) comm=\"{0,1}(?<comm>[^ ]+)\"{0,1}( requested_mask=\"(?<requested_mask>\w+)\" denied_mask=\"(?<denied_mask>\w+)\" fsuid=(?<fsuid>\d+))?|^type=(?<type>\w+) msg=audit\((?<time1>\w+).*: pid=(?<pid1>\d+) uid=(?<uid>\d+) .* msg='(?<message>.*)'|type=NETFILTER_CFG msg=audit\((?<time2>\w+).*: table=(?<table>[^ ]+) family=(?<family>\d+) entries=(?<entries>\d+)|type=ANOM_PROMISCUOUS msg=audit\((?<time3>\w+).*: dev=(?<device>[^ ]+) prom=(?<prom>\d+) old_prom=(?<old_prom>\d+).*)|type=DAEMON\w+ msg=audit\((?<time4>\w+).*: (?<message1>.*)|type=CONFIG_CHANGE msg=audit\((?<time5>\w+).*: (?<message2>.*)
/

Description

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