Regular Expressions 101

Library entries

0
pcre2

GSN

split words to keywords
Submitted by anonymous - a month ago
1
pcre2

BadDomainNamesDetected

/hostname=(?P\".*\")/gm
Submitted by KC.G - a month ago
0
pcre2

Record Date Rule (Semantic)

Record Date Rule (Semantic)
Submitted by Kasshyap - 2 months ago
0
pcre2

Add new line to every 2 sentences

-
Submitted by anonymous - 2 months ago
0
pcre2

regex for name unicode

regex detect name unicode
Submitted by hao.nguyen - 2 months ago
0
pcre2

match glassId

使用边界来匹配输出
Submitted by anonymous - 2 months ago
0
pcre2

chapter

a
Submitted by anonymous - 2 months ago

semantic tags

Vote

0

Regular Expression
pcre

/
^(=|>=|<=|=>|=<|>|<|!=|~|~>|\^)?(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
/
gm

Description

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