in reply to Re^3: Find duplicate digitsin thread Find duplicate digits
That solves the mystery partially for me, because I'm always finding it hard to understand regex.