Community Patterns

Community Library Entry

0

Regular Expression
Created·2023-06-01 14:56
Flavor·PCRE2 (PHP)

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

Description

This regex will only allow the Major.Minor.Patch pattern to pass.

Submitted by Rónmag