Regular Expressions 101

Sponsors

Library entries

0
java

Password in java

password in java
Submitted by anonymous - 2 years ago
0
java

Kotlin FTP Proto Check

ftpProtoCheck
Submitted by anonymous - 2 years ago
-1
golang

rtrtr

gtgtg
Submitted by anonymous - 2 years ago
0
golang

Filter 4, 10 digits and email

Test
Submitted by gert rohde - 2 years ago
0
java

my regex

test
Submitted by anonymous - 2 years ago
0
golang

Semantic Versioning

Semantic versioning regex
Submitted by anton-yurchenko - 2 years ago
0
java

Email Regex

Regex to capture email from Text
Submitted by Suman Maharjan - 2 years ago
0
java

OmegaT exercises

OmegaT exercises
Submitted by msoutopico - 2 years ago
0
golang

Log Data Parsing

parse log data
Submitted by anonymous - 2 years 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