Regular Expressions 101

Sponsors

Library entries

0
pcre2

Split Http(s) Response

Split Http(s) Response
Submitted by anonymous - 13 hours ago
0
pcre2

Vivaldi

Vivaldi
Submitted by anonymous - a day ago
0
python

ipv4 addresses

Valid ip addreses
Submitted by anonymous - 2 days ago
0
pcre2

TXN ID

VIL ID
Submitted by anonymous - 4 days ago
0
pcre2

Slurs

Not made with ill intentions.
Submitted by anonymous - 5 days ago
0
java

partnkey value

Extract value partn_key
Submitted by anonymous - 5 days ago
0
pcre2

正则提取

ss
Submitted by sss - 6 days ago
0
pcre2

e-mail regex

Validates an email address
Submitted by anonymous - 6 days ago
0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 6 days ago

bkengine 多行宏词法分析 添加了分组参数

Vote

0

Regular Expression
python

"
(?P<macroName>\[\w+\s)(?#匹配宏名称)|(?P<paramName>\w+(?=\=))(?#匹配参数名称)|(?P<intValue>(?<=\=)\d+)(?#匹配int参数)|(?P<intArrayValue2>(?<=\=)\[\d+,\d+\])(?#匹配长度为2的int数组)|(?P<intArrayValue4>(?<=\=)\[\d+,\d+,\d+,\d+])(?#匹配长度为4的int数组)|(?P<stringValue1>\"[a-zA-Z\._0-9\s]+\")(?#匹配使用双引号的string参数)|(?P<stringValue2>\'[a-zA-Z\._0-9\s]+\')(?#匹配使用单引号的string参数)|(?P<var>(?<=\=)\w+)(?#匹配变量型参数)
"
gm

Description

Loading markdown...
Submitted by 小沙盒工作室 - 2 months ago