fix: enforcing the 'no W in the key' condition
This commit is contained in:
parent
048c46567f
commit
7f76188b81
|
@ -104,10 +104,10 @@ namespace KRY_0x01_ng
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Match match = Regex.Match(str_to_check, @"\d|\s+");
|
Match match = Regex.Match(str_to_check, @"\d|\s+|W");
|
||||||
if (match.Success)
|
if (match.Success)
|
||||||
{
|
{
|
||||||
MessageBox.Show("Only alphabetic characters are allowed.\nCheck the key for numbers, symbols or tab whitespace and remove them before continuing.", "Error: invalid chars in key");
|
MessageBox.Show("Only alphabetic characters (with the exception of 'W') are allowed.\nCheck the key for numbers, symbols or tab whitespace and remove them before continuing.", "Error: invalid chars in key");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue