One new neat little feature is the option to use Regular Expressions to validate Custom Properties.
For example, for a particular Blueprint I want the user to be able to enter an IP address for the deployment. But I need to avoid typos as much as possible.
With RegEx you can actually do that now…
Now I want to make sure that the user an only IP addresses from the following range
172.16.0.2 - 172.16.0.240
The resulting RegEx would be
^172\.16\.0\.([2-9]|[1-9][0-9]|1([0-9][0-9])|2([0-3][0-9]|40))$
Now enter the relevant RegEx in the box shown
Just below that box you can test it .. Here a valid IP from said range
Now I add a wrong IP address, you can see the box turns red (that is not an annotation of mine)
The same applies of course to a blueprint this property has been applied to (again, red box is not an annotation of mine).
If you don’t know how to calculate, here is a nice web page where you can generate IP related Regular Expressions
As I say, neat 🙂