-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation with Regex doesn't allow type regexp for a pattern #1178
Comments
No update, or does nobody care for this repo? 😢 |
This is just sad, you know? |
Still sad. |
Every decent developer seems to have jumped ship in this company. I think I have seen enough. Won't recommend this software until you change this situation. |
I'm just here to check how utterly abandoned the codebase here is. Shame on you contentful. |
Hey @psavary this sounds like it would be a great improvement, thanks very much for the suggestion and really truly sorry about the radio silence you received. I am gonna see about landing this fix. |
Steps to Reproduce
Running
ctf-migrate up
Expected Behavior
I'd expect that the property
pattern
accepts a variable of type Regex so that I don't have to write a string and therefore have to escape escape characters like this:const regexPattern = '^[^.~:\\/?#[\\]@!$&\'()*+,;=%\\s]+(?:-+)*$';
Actual Behavior
Possible Solution
Allow type
regexp
as a type on propertypattern
Environment
package.json
package-json.lock
The text was updated successfully, but these errors were encountered: