Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^[1-9]{1}[0-9]?([\.]?[0-9]+|[0-9]*)[GT]{1}$
/
mg

Description

Work with ZFS system ( example: set quota='4G')

Submitted by anonymous - 6 years ago