Change pattern format for code editor options