Java
Some are more equal than others
"And to avoid the tedious repetition of these words: is equal to: I will set as I do often in work use, a pair of parallels, or Gemowe lines of one length, thus: =, because no 2 things, can be more equal." -- Robert Recorde, The Whetstone of Witte (1557)
…Regex prime checker
This Java snippet uses a regular expression for something way different than they were designed for: a primality check.
public static boolean
…