Tacodude78
Regular
As far as I'm aware, the WCA id scheme is the year in 4 digits, the first 4 letters of the last name, and 2 digits of an index, a way of separating the people with the same last name who went to their first comp in the same year. But some really common last names (e.g. smith or chen) have more than 99 people join a competition in one year. So what happens if 100 people with the same surname compete in their first comp in the same year? What would the 100th person's id be?
While I'm asking questions about WCA ids, what about if one's last name is less than 4 letters?
I'm asking this because 1. I'm curious and 2. I'm programming something that matches for a WCA ID using this regex:
and I want to know if there are edge cases for this.
(Not sure if this goes in WCA Regs, Speedcubing Discussion, or here)
While I'm asking questions about WCA ids, what about if one's last name is less than 4 letters?
I'm asking this because 1. I'm curious and 2. I'm programming something that matches for a WCA ID using this regex:
Code:
\d{4}[A-Z]{4}\d{2}
(Not sure if this goes in WCA Regs, Speedcubing Discussion, or here)