Regular Expressions 101

Sponsors

Library entries

0
python

ipv4 addresses

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

Matches filenames in urls

Filenames in urls
Submitted by anonymous - 3 days ago
0
java

partnkey value

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

sql inj

as
Submitted by anonymous - 7 days ago
0
java

Identifier Regex

Regex for identifiers
Submitted by anonymous - 9 days ago
0
javascript

Currency

Currency
Submitted by jerryd - 10 days ago
0
python

parse sqf defines

parsing armas sqf preprocessor defines
Submitted by anonymous - 13 days ago
0
python

Test molecule coverage

Regex to test covered tests
Submitted by Florian Toulemont - 15 days ago
0
python

US Stock Exchange symbols

Regex for Telegram Bot
Submitted by Lucas Zurverra - 16 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