Loosely matching rhymes for recursive code