mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-18 11:14:39 -05:00
Back when this code was introduced, the TLDs were relatively short, with only two outliers: .museum and .travel. Since then, a generic TLD system was introduced which opened registration of top level domains. The number of TLDs registered this way exceeds 1 200, with the longest TLDs having 18 characters. Parsing longer TLDs for emails shouldn't cause practical issues, as e-mail syntax is unusual enough. In fact, in the older versions, this code was buggy as it linked example@example.exa in example@example.example, not noticing that there should be a word bounary. |
||
|---|---|---|
| .. | ||
| chat.js | ||
| ladders-matchmaker.js | ||
| rooms.js | ||
| simulator.js | ||
| sockets.js | ||
| team-validator.js | ||
| users.js | ||