UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit f43c3947 authored by John Rollinson's avatar John Rollinson
Browse files

Need to double escape '\' in regex

parent ee0d5664
No related merge requests found
......@@ -18,7 +18,7 @@ parameters:
constraints:
- length: { min: 6, max: 11 }
description: Subnet prefix must be between 6 and 11 characters
- allowed_pattern: "(192\.168\.[0-9]{1,3})|(10(\.[0-9]{1,3}){2})|(172\.(1[6-9]|2[0-9]|3[1-2])\.[0-9]{1,3})"
- allowed_pattern: "(192\\.168\\.[0-9]{1,3})|(10(\\.[0-9]{1,3}){2})|(172\\.(1[6-9]|2[0-9]|3[1-2])\\.[0-9]{1,3})"
description: Subnet must be the three-octet prefix for an RFC1918 subnet.
resources:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment