Difference between revisions of "Regexp:NaturalNumber"

From OPENRESEARCH th copy Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
|or char=!
 
|or char=!
 
}}
 
}}
 +
 +
Accepts a natural number or nothing. To make input mandatory set the [[Property:Property mandatory]] to true.

Revision as of 13:09, 4 March 2021

id NaturalNumber
regexp /^[0-9]+!$/
base type
inverse
message Must be a number
or char !
base prefix

Regexp


Accepts a natural number or nothing. To make input mandatory set the Property:Property mandatory to true.