mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
parent
df5c302841
commit
1a1e5a35b2
@ -10351,18 +10351,19 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
for (var i = 0; i < text.Length; i++)
|
||||
{
|
||||
var ch = text[i];
|
||||
if (char.IsNumber(ch))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!containsLowercase && char.IsLower(ch))
|
||||
{
|
||||
containsLowercase = true;
|
||||
}
|
||||
|
||||
if (!containsUppercase && char.IsUpper(ch))
|
||||
else if (!containsUppercase && char.IsUpper(ch))
|
||||
{
|
||||
containsUppercase = true;
|
||||
}
|
||||
|
||||
i++;
|
||||
}
|
||||
|
||||
if (containsUppercase && containsLowercase)
|
||||
|
Loading…
Reference in New Issue
Block a user