From e3a982394558ee3ae7d9e475b2c2a1b783cd3967 Mon Sep 17 00:00:00 2001 From: Hunter Stevens Date: Thu, 5 Jan 2017 20:04:19 -0500 Subject: [PATCH] Clarify use of regexp for pattern validator --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d5d0be19..14d0001c 100644 --- a/README.md +++ b/README.md @@ -1845,7 +1845,7 @@ The `jsGrid.validators` object contains all built-in validators. The key of the * **rangeLength** - the length of the field value is limited by range (the range should be provided as an array in `param` field of validation config) * **minLength** - the minimum length of the field value is limited (the minimum value should be provided in `param` field of validation config) * **maxLength** - the maximum length of the field value is limited (the maximum value should be provided in `param` field of validation config) - * **pattern** - the field value should match the defined pattern (the pattern should be provided as a string regexp in `param` field of validation config) + * **pattern** - the field value should match the defined pattern (the pattern should be provided as a regexp literal or string in `param` field of validation config) * **range** - the value of the number field is limited by range (the range should be provided as an array in `param` field of validation config) * **min** - the minimum value of the number field is limited (the minimum should be provided in `param` field of validation config) * **max** - the maximum value of the number field is limited (the maximum should be provided in `param` field of validation config)