Regular Expressions 101

Sponsors

Library entries

0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 6 days ago
0
golang

Golang Get variables In Js

To get
Submitted by anonymous - a month ago
0
golang

Date String ISO Pattern

Date String ISO Pattern matcher
Submitted by Lucas Morais - 2 months ago
0
golang

IPv4 Address Validation Regex

IPv4 Address Validation Regex
Submitted by ulgena - 2 months ago
0
golang

super regex

Get every word ending with dot using Regex/VBA
Submitted by anonymous - 2 months ago
0
golang

S3 Path with ending .json

S3 Path with ending .json
Submitted by Sowmith - 5 months ago
1
golang

1

11
Submitted by anonymous - 5 months ago
0
golang

nginx access regex loki

nginx access log regex
Submitted by Lethisa Putri - 6 months ago
0
golang

匹配邮箱

[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by Lintao - 8 months ago
0
golang

Golang Docker matcher

Used by me for docker-retagger
Submitted by Roman Minebaev - 9 months 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 小沙盒工作室 - 4 months ago