Regular Expressions 101

Library entries

0
pcre2

GSN

split words to keywords
Submitted by anonymous - 2 months ago
1
pcre2

BadDomainNamesDetected

/hostname=(?P\".*\")/gm
Submitted by KC.G - 2 months 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

Parse getopt options from a Bash script

Vote

0

Regular Expression
pcre

/
getopt(?:s|)(?: (?:-[a-zA-Z])*)*(?'name'[$a-zA-Z]+|)\s(?:(?:-o|--options) (?'short'.+) (?:-l|--longoptions|--long) (?'long'(?:[a-zA-Z0-9]|,|:|\$)+) \-\- \"\$@\"|(?:(?:(?:-[a-zA-Z])*|)\s*\"(?'while'(?:[a-zA-Z0-9]|,|:|\$)+)\"))
/
gm

Description

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