Refactor watched patterns formatting