Skip to content

Commit cea50d9

Browse files
committed
Fix #136
1 parent 0690927 commit cea50d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/NETworkManager/Utilities/RegexHelper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static class RegexHelper
2626
private const string CidrRegex = @"([1-9]|[1-2][0-9]|3[0-2])";
2727

2828
// Match a Subnetmask like 255.255.255.0
29-
public const string SubnetmaskRegex = @"^" + SubnetmaskValues + @"&";
29+
public const string SubnetmaskRegex = @"^" + SubnetmaskValues + @"$";
3030

3131
// Match a subnet from 192.168.178.0/1 to 192.168.178.0/32
3232
public const string IPv4AddressCidrRegex = @"^" + IPv4AddressValues + @"\/" + CidrRegex + @"$";

0 commit comments

Comments
 (0)