Regular Expressions 101

Sponsors

Library entries

0
python

ipv4 addresses

Valid ip addreses
Submitted by anonymous - a day ago
0
java

partnkey value

Extract value partn_key
Submitted by anonymous - 4 days ago
0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 5 days ago
0
pcre

amazIng regex

super
Submitted by anonymous - 7 days ago
0
golang

super regex

Get every word ending with dot using Regex/VBA
Submitted by anonymous - 7 days ago
0
java

Identifier Regex

Regex for identifiers
Submitted by anonymous - 8 days ago
0
pcre

Only if before

Only if needle is before target
Submitted by anonymous - 9 days ago
0
python

parse sqf defines

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

Test molecule coverage

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

US Stock Exchange symbols

Regex for Telegram Bot
Submitted by Lucas Zurverra - 14 days ago

bkengine多行宏解析器

Vote

0

Regular Expression
python

"
((?<=\[)\w+)(?#匹配宏名称)|(\w+(?=\=))(?#匹配参数名称)|((?<=\=)\d+)(?#匹配int参数)|((?<=\=)\[\d+,\d+\])(?#匹配长度为2的int数组)|((?<=\=)\[\d+,\d+,\d+,\d+])(?#匹配长度为4的int数组)|(\"[a-zA-Z\._0-9\s]+\")(?#匹配使用双引号的string参数)|(\'[a-zA-Z\._0-9\s]+\')(?#匹配使用单引号的string参数)
"
gm

Description

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