Be more generous on nick parse

benefits manual-edit users who forget to put a space between
nick(species)
This commit is contained in:
Kurt 2018-08-01 18:28:05 -07:00
parent 007ec93d85
commit fe6c071d72

View File

@ -473,7 +473,7 @@ private void ParseSpeciesNickname(string line)
string n1, n2;
if (index > 1) // correct format
{
n1 = line.Substring(0, index - 1);
n1 = line.Substring(0, index).Trim();
n2 = line.Substring(index).Trim();
n2 = ReplaceAll(n2, string.Empty, "[", "]", "(", ")"); // Trim out excess data
}