xkcd 1313: Something is Wrong on the Internet!
Serious geekdom here!
An xkcd comic inspires an algorithm that generates a regex to extract winners from U.S. presidential elections. (Applicable to other lists as well.)
Remembering that some U.S. presidents both won and lost races for the presidency.
A very clever piece of work. At the same time, I must have the winner/loser lists in order to generate the regex.
So good exercise but I can’t apply it beyond the lists I used to generate the regex.
Yes?
BTW, do make a trip by Regex Golf to try your hand at writing regexes against different lists.