Properly detect valid trailing dots
Count dots, detect a trailing one and remove it for counting. Must have at least 2 dots.
Properly detect valid trailing dots
Count dots, detect a trailing one and remove it for counting. Must have at least 2 dots.