We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0690927 commit cea50d9Copy full SHA for cea50d9
Source/NETworkManager/Utilities/RegexHelper.cs
@@ -26,7 +26,7 @@ public static class RegexHelper
26
private const string CidrRegex = @"([1-9]|[1-2][0-9]|3[0-2])";
27
28
// Match a Subnetmask like 255.255.255.0
29
- public const string SubnetmaskRegex = @"^" + SubnetmaskValues + @"&";
+ public const string SubnetmaskRegex = @"^" + SubnetmaskValues + @"$";
30
31
// Match a subnet from 192.168.178.0/1 to 192.168.178.0/32
32
public const string IPv4AddressCidrRegex = @"^" + IPv4AddressValues + @"\/" + CidrRegex + @"$";
0 commit comments