-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
type: bugcode to address defects in shipped codecode to address defects in shipped code
Description
I'm on the latest Netlify CMS version, trying to add a simple regex pattern (I have a few others, different ones, that work without issues).
This one though won't match whatever I do.
pattern: [
'/(@@click_id)/gi',
"Must be a valid url and at least contain @@click_id",
],
The field under validation is a string widget, it is supposed to make sure that the above token is included in a url
that is entered in this string
widget.
On regexr.com it matches any combination I threw at it, but in the CMS UI it always triggers a validation error (If the token is included or not)
Metadata
Metadata
Assignees
Labels
type: bugcode to address defects in shipped codecode to address defects in shipped code