in reply to Birthday Chances

You forgot leap years! Also, some description of the code/theory might be good.

--
perl -pe "s/\b;([st])/'\1/mg"