Finding and publishing a pattern