Loosely matching rhymes for reentrant code