Regular Expressions 101

Library entries

Semantic Versioning to fix broken pkg-config

Vote

0

Regular Expression
pcre2

/
^(?:Version:\s)(0|[1-9]\d*)\.?(0|[1-9]\d*)?\.?(0|[1-9]\d*)?(?:-((?:0|[1-9]\d*|\d*[a-zA-Z][0-9a-zA-Z]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z][0-9a-zA-Z]*))*))?(.*)$
/
gm

Description

Loading markdown...
Submitted by anonymous - 3 months ago