Regex Golf

Regex Golf

(alt-text)

/bu|[rn]t|[coy]e|[mtg]a|j|iso|n[hl]|[ae]d|lev|sh|[lnd]i|[po]o|ls/ matches the last names of elected US presidents but not their opponents.

 
xkcd updates every Monday, Wednesday, and Friday