Regular Expressions 101

Library entries

0
javascript

IPv4-CIDR

Match IPv4-CIDR (JavaScript)
Submitted by fwqaaq - 7 hours ago
0
python

Author cite

Get author names from shitty import
Submitted by anonymous - 6 days ago
0
pcre

strip host port

removes port number from URL
Submitted by pc - 10 days ago
0
pcre

Proxy Matcher

Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by dev.tntd2k2 - 13 days ago
0
python

Session Start/Close

Capturing Start/Close in IRC-logs
Submitted by Corpset - 13 days ago
0
pcre

latlonlatlon

gg
Submitted by anonymous - 14 days ago

Git Commit Message Validation

Vote

0

Regular Expression
python

r"
^(?:(?P<type>(?:feat)|(?:fix)|(?:docs)|(?:style)|(?:refactor)|(?:test)|(?:merge)|(?:chore))(?: \((?P<issue>.+)\))?: (?P<subject>[A-Z0-9].{0,48}(?!\.).?)\n?)(?:\n(?P<body>(?:.*\n?)+))*$
"
gm

Description

Loading markdown...
Submitted by anonymous - 3 months ago