Regular Expressions 101

Sponsors

Library entries

0
golang

Split words in brackets

Split words in brackets
Submitted by ugurakcil - a year ago
0
golang

find email addresses

find email addresses
Submitted by anon - 10 months ago
0
golang

Jira issue number

Matches and catches Jira issue number
Submitted by anonymous - 9 months ago
0
golang

Golang Docker matcher

Used by me for docker-retagger
Submitted by Roman Minebaev - 9 months ago
0
golang

匹配邮箱

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

nginx access regex loki

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

S3 Path with ending .json

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

Semantic Versioning

Vote

0

Regular Expression
golang

`
(?P<prefix>.*?)(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:(?P<sep1>-)(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:(?P<sep2>\+)(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
`
gm

Description

Loading markdown...
Submitted by anton-yurchenko - 2 years ago