Validate property string values with regex
complete
Hugi Hlynsson
complete
You can now add a Regex validation to your properties. See more in our latest changelog entry: https://avo.canny.io/changelog/enhanced-property-validation
Svala Hjörleifsdóttir
in progress
Svala Hjörleifsdóttir
We are excited to announce that we are now working on Regex validation for string properties. We would greatly appreciate your feedback and input in to our designs for this feature. Here is a link where you can book a user interview to talk about Regex if you can find the time next week: https://calendly.com/avohq/event-variants-feedback
Solvi Logason
Quick question here: When you're documenting regex rules for property values, what flavor do you prefer (JavaScript, PCRE, PCRE2, ...something else)? Seems like JavaScript is what the JSON Schema standard follows, but curious to see if there are any other preferences out there!
T
Tom2
Solvi Logason following the JSON Schema standard feels like the most sensible option - given that that is the most common way of validating events!
G
Giorgio
I'd love this but, if Inspector only checks the schema, what Avo component would be in charge of verifying the value format?
S
SteveF
Giorgio: would be clientside validation not serverside with avo
Erik
Yes regex validation for property values makes a ton of sense.
N
Nathan
yeah desperately need this feature
S
Simon White
+1 for regex and common patterns (ISO currency and country codes would be great)
Jay Stevens
Would also be insanely useful to have common regex templates available as well - i.e. Date-formatted string, phone #, email address, etc.