Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^\d+(?:\.\d+){2}$
/

Description

版本号格式必须为X.Y.Z

Submitted by anonymous - 5 years ago