Regular Expressions 101

Library entries

1
pcre

Q_Property

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

inline-sub-via-sed

regex for inline substitution w/ sed
Submitted by anonymous - 8 years ago
1
pcre

Extract values from log

no description available
Submitted by anonymous - 8 years ago
3
pcre

Cisco ASA

no description available
Submitted by anonymous - 8 years ago
0
pcre

Beginning of word

When looking for day, Sunday should not be matched.
Submitted by Ben - 8 years ago
1
pcre

FRDocExpression

no description available
Submitted by anonymous - 8 years ago
0
pcre

111

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

L0

no description available
Submitted by anonymous - 8 years ago

Gentoo atom parsing

Vote

2

Regular Expression
pcre

/
^(?'prefix'(?:[<>]=?|=)|~|!!?|\+)?(?'base'(?'category'[A-Za-z\d\-]+)\/(?'packagename'[A-Za-z][\w\-\+]*?))(?:-(?'version'\d[\w\.]*\*?)(?:-r(?'revision'[\d\.]+))?)?(?:\:(?'slot'[\d\.]*\=?|\*)(?:\/(?'subslot'[\d\.]+\=?))?)?(?: +(?'useflags'[\w\s\-]+))? *$
/
gm

Description

Loading markdown...
Submitted by selurvedu - 8 years ago