Function: stringRegex()
stringRegex(
regex
:RegExp
,options
?:ValidatorOptions
):IConstraint
<string
,string
>
Parameters
Parameter | Type |
---|---|
regex | RegExp |
options ? | ValidatorOptions |
Returns
IConstraint
<string
, string
>
Defined in
projects/shapeshift/src/constraints/StringConstraints.ts:146