Community Patterns

Community Library Entry

1

Regular Expression
Created·2022-05-04 07:44
Flavor·PCRE (Legacy)

/
^(\d+\.)?(\d+\.)?(\*|\d+)
/
Open regex in editor

Description

Given example text in 0.6.12+commit.27d51765. Now we need to extract the version number from the text.

Submitted by jjhesk